Data Model User Session
Last updated
Was this helpful?
Last updated
Was this helpful?
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.
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
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.