mirror of
https://github.com/Icinga/icingadb.git
synced 2026-02-18 18:18:00 -05:00
Bump expected mysql & psql schema version to 7 & 5
This commit is contained in:
parent
a34313e563
commit
ace85d10b4
3 changed files with 4 additions and 4 deletions
|
|
@ -15,8 +15,8 @@ import (
|
|||
)
|
||||
|
||||
const (
|
||||
expectedMysqlSchemaVersion = 6
|
||||
expectedPostgresSchemaVersion = 4
|
||||
expectedMysqlSchemaVersion = 7
|
||||
expectedPostgresSchemaVersion = 5
|
||||
)
|
||||
|
||||
// ErrSchemaNotExists implies that no Icinga DB schema has been imported.
|
||||
|
|
|
|||
|
|
@ -1408,4 +1408,4 @@ CREATE TABLE icingadb_schema (
|
|||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin ROW_FORMAT=DYNAMIC;
|
||||
|
||||
INSERT INTO icingadb_schema (version, timestamp)
|
||||
VALUES (6, UNIX_TIMESTAMP() * 1000);
|
||||
VALUES (7, UNIX_TIMESTAMP() * 1000);
|
||||
|
|
|
|||
|
|
@ -2271,4 +2271,4 @@ CREATE TABLE icingadb_schema (
|
|||
ALTER SEQUENCE icingadb_schema_id_seq OWNED BY icingadb_schema.id;
|
||||
|
||||
INSERT INTO icingadb_schema (version, timestamp)
|
||||
VALUES (4, extract(epoch from now()) * 1000);
|
||||
VALUES (5, extract(epoch from now()) * 1000);
|
||||
|
|
|
|||
Loading…
Reference in a new issue