Data Model User Session
The User Session data model is automatically added by the Auth module when creating a new project. Sessions for user accounts are created on it.
You cannot delete or rename the User Session model itself or the default fields added to it - they are required for other Appmaster Studio functions to work correctly. However, you can use them to build business logic and interface, as well as add new fields to the User Session.
User Session data model with default fields

Default field list

Field
Data Type
Description
ID
integer
Unique identifier of the object.
CreatedAt
datetime
When was the object created.
UpdatedAt
datetime
When was the object last updated.
DeletedAt
datetime
When was the object deleted.
Expires_at
datetime
Time when the token becomes invalid
Token
string
User authorization token
Active
boolean
True if the token is active
User
model
User model connection

Business process blocks: Model functions - User Session

  • Make User Session
  • Expand User Session
  • DB: Search User Session
  • DB: Create User Session
  • DB: Update User Session
  • DB: Delete User Session
  • DB: GetOne User Session
  • DB: Patch User Session
  • DB: Soft Delete User Session
  • DB: Bulk Delete User Session
More details about these blocks - in the section Business logic - Blocks List - Model functions.