Deprecated role in Member and introduced channelRole

This commit is contained in:
Ayush Shekhar
2022-05-06 17:19:45 +05:30
parent 9dab952a4c
commit bba503a6f4
13 changed files with 67 additions and 17 deletions
@@ -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()();