1
0
mirror of https://github.com/scsibug/nostr-rs-relay.git synced 2025-03-16 01:50:30 -04:00

fix: persist database version for v18 migration

This commit is contained in:
Greg Heartsfield 2023-02-25 15:55:00 -06:00
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(()) => {