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, }