Skip to content

Commit

Permalink
ui: Fix alembic migration script
Browse files Browse the repository at this point in the history
  • Loading branch information
bersace committed Oct 24, 2022
1 parent 03a84a0 commit e8449b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/temboardui/model/versions/000_init.sql
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CREATE SCHEMA IF NOT EXISTS application;
CREATE TABLE IF NOT EXISTS application.schema_migration_log (
version TEXT UNIQUE NOT NULL PRIMARY KEY,
cdate TIMESTAMP DEFAULT NOW(),
comment TEXT
comment TEXT,
cdate TIMESTAMP DEFAULT NOW()
);
1 change: 1 addition & 0 deletions ui/temboardui/model/versions/007_drop-alembic.sql
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
DROP TABLE IF EXISTS "application"."alembic_version";
CREATE TABLE IF NOT EXISTS "application"."schema_migration_log" (
version TEXT UNIQUE NOT NULL PRIMARY KEY,
comment TEXT,
cdate TIMESTAMP DEFAULT NOW()
);

0 comments on commit e8449b2

Please sign in to comment.