fix: table name

This commit is contained in:
Tine 2024-02-27 15:43:20 +01:00
parent 6a677d96cd
commit 8c4fc83ca0
Signed by: mentos1386
SSH key fingerprint: SHA256:MNtTsLbihYaWF8j1fkOHfkKNlnN1JQfxEU/rBU8nCGw
2 changed files with 5 additions and 5 deletions

View file

@ -1,5 +1,5 @@
-- +migrate Up -- +migrate Up
CREATE TABLE o_auth2_states ( CREATE TABLE oauth2_states (
state TEXT, state TEXT,
expiry DATETIME, expiry DATETIME,
PRIMARY KEY (state) PRIMARY KEY (state)
@ -39,7 +39,7 @@ CREATE TABLE monitor_worker_groups (
CONSTRAINT fk_monitor_worker_groups_monitor FOREIGN KEY (monitor_slug) REFERENCES monitors(slug) CONSTRAINT fk_monitor_worker_groups_monitor FOREIGN KEY (monitor_slug) REFERENCES monitors(slug)
); );
CREATE TABLE "monitor_histories" ( CREATE TABLE monitor_histories (
monitor_slug TEXT, monitor_slug TEXT,
status TEXT, status TEXT,
note TEXT, note TEXT,
@ -51,7 +51,7 @@ CREATE TABLE "monitor_histories" (
); );
-- +migrate Down -- +migrate Down
DROP TABLE o_auth2_states; DROP TABLE oauth2_states;
DROP TABLE monitor_worker_groups; DROP TABLE monitor_worker_groups;
DROP TABLE worker_groups; DROP TABLE worker_groups;
DROP TABLE monitor_histories; DROP TABLE monitor_histories;

View file

@ -17,8 +17,8 @@ primary_region = 'waw'
ROOT_URL = 'https://zdravko.mnts.dev' ROOT_URL = 'https://zdravko.mnts.dev'
TEMPORAL_SERVER_HOST = 'server.process.zdravko.internal:7233' TEMPORAL_SERVER_HOST = 'server.process.zdravko.internal:7233'
TEMPORAL_DATABASE_PATH = '/data/temporal-4.db' TEMPORAL_DATABASE_PATH = '/data/temporal-5.db'
DATABASE_PATH = '/data/zdravko-4.db' DATABASE_PATH = '/data/zdravko-5.db'
[processes] [processes]
server = '--temporal --server' server = '--temporal --server'