get back to where we were. but now with sea_orm and a more sane structure
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -40,6 +40,7 @@ impl MigrationTrait for Migration {
|
||||
manager
|
||||
.create_index(
|
||||
Index::create()
|
||||
.name("user_id_index")
|
||||
.table(User)
|
||||
.col(users::Column::UserId)
|
||||
.to_owned(),
|
||||
|
@@ -40,6 +40,7 @@ impl MigrationTrait for Migration {
|
||||
manager
|
||||
.create_index(
|
||||
Index::create()
|
||||
.name("device_id_index")
|
||||
.table(Device)
|
||||
.col(devices::Column::DeviceId)
|
||||
.to_owned(),
|
||||
@@ -48,6 +49,7 @@ impl MigrationTrait for Migration {
|
||||
manager
|
||||
.create_index(
|
||||
Index::create()
|
||||
.name("user_uuid_index")
|
||||
.table(Device)
|
||||
.col(devices::Column::UserUuid)
|
||||
.to_owned(),
|
||||
|
@@ -35,6 +35,7 @@ impl MigrationTrait for Migration {
|
||||
manager
|
||||
.create_index(
|
||||
Index::create()
|
||||
.name("device_uuid_index")
|
||||
.table(Session)
|
||||
.col(sessions::Column::DeviceUuid)
|
||||
.to_owned(),
|
||||
|
Reference in New Issue
Block a user