server: add a unique index to the memberships
This commit is contained in:
committed by
nitnelave
parent
0d48b7f8c9
commit
708d927e90
@@ -11,7 +11,7 @@ pub type DbConnection = sea_orm::DatabaseConnection;
|
||||
#[derive(Copy, PartialEq, Eq, Debug, Clone, PartialOrd, Ord, DeriveValueType)]
|
||||
pub struct SchemaVersion(pub i16);
|
||||
|
||||
pub const LAST_SCHEMA_VERSION: SchemaVersion = SchemaVersion(7);
|
||||
pub const LAST_SCHEMA_VERSION: SchemaVersion = SchemaVersion(8);
|
||||
|
||||
#[derive(Copy, PartialEq, Eq, Debug, Clone, PartialOrd, Ord)]
|
||||
pub struct PrivateKeyHash(pub [u8; 32]);
|
||||
|
||||
Reference in New Issue
Block a user