v0.36.1_hf2
This commit is contained in:
1 parent
4793af758f
commit
da1fe0df55
1 file changed
+5
-3
@@ -131,9 +131,11 @@ impl Store {
|
|||||||
.execute(&mut *tx)
|
.execute(&mut *tx)
|
||||||
.await?;
|
.await?;
|
||||||
if version < 12 {
|
if version < 12 {
|
||||||
sqlx::raw_sql(include_str!("../migrations/0012_admin_preferences_size.sql"))
|
sqlx::raw_sql(include_str!(
|
||||||
.execute(&mut *tx)
|
"../migrations/0012_admin_preferences_size.sql"
|
||||||
.await?;
|
))
|
||||||
|
.execute(&mut *tx)
|
||||||
|
.await?;
|
||||||
}
|
}
|
||||||
sqlx::query("INSERT OR IGNORE INTO configuration(id, revision, document) VALUES(1, 0, ?)")
|
sqlx::query("INSERT OR IGNORE INTO configuration(id, revision, document) VALUES(1, 0, ?)")
|
||||||
.bind(serde_json::to_string(initial)?)
|
.bind(serde_json::to_string(initial)?)
|
||||||
|
|||||||
Reference in new issue
Block a user