mirror of
https://github.com/multipleof4/ntfy.git
synced 2026-10-15 07:57:54 +00:00
Comment
This commit is contained in:
@@ -12,8 +12,6 @@ import (
|
|||||||
"heckel.io/ntfy/v2/db/pg"
|
"heckel.io/ntfy/v2/db/pg"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Queries by dialect; the version table is shared by all stores on Postgres, and per database
|
|
||||||
// file on SQLite
|
|
||||||
const (
|
const (
|
||||||
sqliteCreateVersionTableQuery = `CREATE TABLE IF NOT EXISTS schemaVersion (id INT PRIMARY KEY, version INT NOT NULL)`
|
sqliteCreateVersionTableQuery = `CREATE TABLE IF NOT EXISTS schemaVersion (id INT PRIMARY KEY, version INT NOT NULL)`
|
||||||
sqliteSelectVersionQuery = `SELECT version FROM schemaVersion WHERE id = 1`
|
sqliteSelectVersionQuery = `SELECT version FROM schemaVersion WHERE id = 1`
|
||||||
|
|||||||
Reference in New Issue
Block a user