Deprecated role in Member and introduced channelRole
This commit is contained in:
@@ -12,8 +12,12 @@ class Members extends Table {
|
||||
text().customConstraint('REFERENCES channels(cid) ON DELETE CASCADE')();
|
||||
|
||||
/// The role of the user in the channel
|
||||
@Deprecated('Please use channelRole')
|
||||
TextColumn get role => text().nullable()();
|
||||
|
||||
/// The role of the user in the channel
|
||||
TextColumn get channelRole => text().nullable()();
|
||||
|
||||
/// The date on which the user accepted the invite to the channel
|
||||
DateTimeColumn get inviteAcceptedAt => dateTime().nullable()();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user