mirror of
https://github.com/scsibug/nostr-rs-relay.git
synced 2024-11-24 17:49:07 -05:00
fix: persist database version for v18 migration
This commit is contained in:
parent
5508020777
commit
8c9170d4e3
|
@ -826,7 +826,7 @@ CREATE INDEX IF NOT EXISTS account_pubkey_index ON account(pubkey);
|
||||||
|
|
||||||
|
|
||||||
pragma optimize;
|
pragma optimize;
|
||||||
PRAGMA user_version = 17;
|
PRAGMA user_version = 18;
|
||||||
"##;
|
"##;
|
||||||
match conn.execute_batch(upgrade_sql) {
|
match conn.execute_batch(upgrade_sql) {
|
||||||
Ok(()) => {
|
Ok(()) => {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user