forked from alemi/upub
fix: update base migration
This commit is contained in:
parent
d318ccb782
commit
ca5c6c9971
1 changed files with 2 additions and 0 deletions
|
@ -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,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue