First prototype
This commit is contained in:
@ -36,7 +36,7 @@ impl MigrationTrait for Migration {
|
||||
.if_not_exists()
|
||||
.col(
|
||||
ColumnDef::new(MasterPass::UserId)
|
||||
.integer()
|
||||
.big_unsigned()
|
||||
.primary_key()
|
||||
.not_null(),
|
||||
)
|
||||
@ -54,7 +54,7 @@ impl MigrationTrait for Migration {
|
||||
Table::create()
|
||||
.table(Account::Table)
|
||||
.if_not_exists()
|
||||
.col(ColumnDef::new(Account::UserId).integer().not_null())
|
||||
.col(ColumnDef::new(Account::UserId).big_unsigned().not_null())
|
||||
.col(ColumnDef::new(Account::Name).string_len(256).not_null())
|
||||
.col(ColumnDef::new(Account::Salt).binary_len(64).not_null())
|
||||
.col(ColumnDef::new(Account::EncLogin).var_binary(256).not_null())
|
||||
|
Reference in New Issue
Block a user