From ca5c6c99711c5a4b65ac3de899dba13ad5c8f6bb Mon Sep 17 00:00:00 2001 From: alemi Date: Thu, 21 Mar 2024 19:51:00 +0100 Subject: [PATCH] fix: update base migration --- src/migrations/m20240316_000001_create_table.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/migrations/m20240316_000001_create_table.rs b/src/migrations/m20240316_000001_create_table.rs index d0faa021..e0a31f0a 100644 --- a/src/migrations/m20240316_000001_create_table.rs +++ b/src/migrations/m20240316_000001_create_table.rs @@ -76,6 +76,7 @@ impl MigrationTrait for Migration { .col(ColumnDef::new(Objects::Name).string().null()) .col(ColumnDef::new(Objects::Summary).string().null()) .col(ColumnDef::new(Objects::Content).string().null()) + .col(ColumnDef::new(Objects::Context).string().null()) .col(ColumnDef::new(Objects::Published).string().not_null()) .to_owned() ).await?; @@ -146,5 +147,6 @@ enum Objects { Name, Summary, Content, + Context, Published, }