fix: update base migration

This commit is contained in:
əlemi 2024-03-21 19:51:00 +01:00
parent d318ccb782
commit ca5c6c9971
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -76,6 +76,7 @@ impl MigrationTrait for Migration {
.col(ColumnDef::new(Objects::Name).string().null()) .col(ColumnDef::new(Objects::Name).string().null())
.col(ColumnDef::new(Objects::Summary).string().null()) .col(ColumnDef::new(Objects::Summary).string().null())
.col(ColumnDef::new(Objects::Content).string().null()) .col(ColumnDef::new(Objects::Content).string().null())
.col(ColumnDef::new(Objects::Context).string().null())
.col(ColumnDef::new(Objects::Published).string().not_null()) .col(ColumnDef::new(Objects::Published).string().not_null())
.to_owned() .to_owned()
).await?; ).await?;
@ -146,5 +147,6 @@ enum Objects {
Name, Name,
Summary, Summary,
Content, Content,
Context,
Published, Published,
} }