mirror of
https://github.com/mentos1386/zdravko.git
synced 2024-11-22 07:43:33 +00:00
fix: table name
This commit is contained in:
parent
6a677d96cd
commit
8c4fc83ca0
2 changed files with 5 additions and 5 deletions
|
@ -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;
|
||||||
|
|
|
@ -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'
|
||||||
|
|
Loading…
Reference in a new issue