diff --git a/src/migrations/m20240524_000004_create_addressing_deliveries.rs b/src/migrations/m20240524_000004_create_addressing_deliveries.rs index 5aecd0a4..6d7e3309 100644 --- a/src/migrations/m20240524_000004_create_addressing_deliveries.rs +++ b/src/migrations/m20240524_000004_create_addressing_deliveries.rs @@ -67,7 +67,7 @@ impl MigrationTrait for Migration { .to(Activities::Table, Activities::Id) .on_update(ForeignKeyAction::Cascade) ) - .col(ColumnDef::new(Addressing::Object).string().null()) + .col(ColumnDef::new(Addressing::Object).integer().null()) .foreign_key( ForeignKey::create() .name("fkey-addressing-object")