Finish products
This commit is contained in:
parent
5111c6efb2
commit
6eb9857066
@ -335,6 +335,7 @@ impl Migration {
|
||||
m.create_table(
|
||||
Table::create()
|
||||
.table(ProductOptions)
|
||||
.col(auto_uuid_not_null!(Id))
|
||||
.col(Title.col().string().not_null())
|
||||
.col(ts_def_now_not_null!(CreatedAt))
|
||||
.col(ts_def_now_not_null!(UpdatedAt))
|
||||
@ -376,7 +377,7 @@ impl Migration {
|
||||
.col(Metadata.col().json_binary())
|
||||
.to_owned(),
|
||||
)
|
||||
.await;
|
||||
.await?;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
@ -419,7 +420,7 @@ impl Migration {
|
||||
.col(Metadata.col().json_binary())
|
||||
.to_owned(),
|
||||
)
|
||||
.await;
|
||||
.await?;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user