feat(persistence): add support for message.i18n
Signed-off-by: xsahil03x <[email protected]>
This commit is contained in:
@@ -11,6 +11,9 @@ class Users extends Table {
|
||||
/// User role
|
||||
TextColumn get role => text().nullable()();
|
||||
|
||||
/// The language this user prefers.
|
||||
TextColumn get language => text().withDefault(const Constant('en'))();
|
||||
|
||||
/// Date of user creation
|
||||
DateTimeColumn get createdAt => dateTime().withDefault(currentDateAndTime)();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user