forked from alemi/upub
fix: in addressing actor/instance are null if pub
This commit is contained in:
parent
0afb203b87
commit
d830576e66
1 changed files with 2 additions and 2 deletions
|
@ -43,7 +43,7 @@ impl MigrationTrait for Migration {
|
|||
.auto_increment()
|
||||
.primary_key()
|
||||
)
|
||||
.col(ColumnDef::new(Addressing::Actor).big_integer().not_null())
|
||||
.col(ColumnDef::new(Addressing::Actor).big_integer().null())
|
||||
.foreign_key(
|
||||
ForeignKey::create()
|
||||
.name("fkey-addressing-actor")
|
||||
|
@ -51,7 +51,7 @@ impl MigrationTrait for Migration {
|
|||
.to(Actors::Table, Actors::Internal)
|
||||
.on_update(ForeignKeyAction::Cascade)
|
||||
)
|
||||
.col(ColumnDef::new(Addressing::Instance).big_integer().not_null())
|
||||
.col(ColumnDef::new(Addressing::Instance).big_integer().null())
|
||||
.foreign_key(
|
||||
ForeignKey::create()
|
||||
.name("fkey-addressing-instance")
|
||||
|
|
Loading…
Reference in a new issue