fix: v0.94 migration signature — run(db) → run()
This commit is contained in:
parent
04f5f922b7
commit
6e211c8366
|
|
@ -3060,7 +3060,7 @@ function runMigrations() {
|
||||||
{
|
{
|
||||||
version: 'v0.94',
|
version: 'v0.94',
|
||||||
description: 'security: session token hashing + geolocation opt-in setting',
|
description: 'security: session token hashing + geolocation opt-in setting',
|
||||||
run(db) {
|
run() {
|
||||||
// Seed the geolocation setting (default off) for existing installations
|
// Seed the geolocation setting (default off) for existing installations
|
||||||
db.prepare("INSERT OR IGNORE INTO settings (key, value) VALUES ('geolocation_enabled', 'false')").run();
|
db.prepare("INSERT OR IGNORE INTO settings (key, value) VALUES ('geolocation_enabled', 'false')").run();
|
||||||
console.log('[v0.94] geolocation_enabled setting seeded');
|
console.log('[v0.94] geolocation_enabled setting seeded');
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue