(data): Bump version 9 -> 10.

This commit is contained in:
2022-01-28 19:11:46 +02:00
parent 34247c291c
commit b27ab4af79
3 changed files with 5 additions and 2 deletions

View File

@@ -1,2 +1,2 @@
CONFIG_FILE = "config/bot.conf"
DATA_VERSION = 9
DATA_VERSION = 10

View File

@@ -149,3 +149,6 @@ CREATE VIEW new_study_badges AS
-- API changes
ALTER TABLE user_config ADD COLUMN API_timestamp BIGINT;
INSERT INTO VersionHistory (version, author) VALUES (10, 'v9-v10 migration');

View File

@@ -4,7 +4,7 @@ CREATE TABLE VersionHistory(
time TIMESTAMP WITH TIME ZONE DEFAULT CURRENT_TIMESTAMP NOT NULL,
author TEXT
);
INSERT INTO VersionHistory (version, author) VALUES (9, 'Initial Creation');
INSERT INTO VersionHistory (version, author) VALUES (10, 'Initial Creation');
CREATE OR REPLACE FUNCTION update_timestamp_column()