mirror of
https://github.com/scsibug/nostr-rs-relay.git
synced 2024-12-25 01:15:52 -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 user_version = 17;
|
||||
PRAGMA user_version = 18;
|
||||
"##;
|
||||
match conn.execute_batch(upgrade_sql) {
|
||||
Ok(()) => {
|
||||
|
|
Loading…
Reference in New Issue
Block a user