Skip to content

Commit

Permalink
sql script update (#4522)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShashwatDadhich authored and Ash-exp committed Jan 22, 2024
1 parent a793dc0 commit 1b1c1fa
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions scripts/sql/209_lock_configuration.down.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DROP TABLE public.lock_configuration
13 changes: 13 additions & 0 deletions scripts/sql/209_lock_configuration.up.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
CREATE SEQUENCE IF NOT EXISTS id_seq_lock_configuration;

CREATE TABLE IF NOT EXISTS public.lock_configuration
(
"id" int4 NOT NULL DEFAULT nextval('id_seq_lock_configuration'::regclass),
"config" text,
"active" bool,
"created_on" timestamptz NOT NULL,
"created_by" int4 NOT NULL,
"updated_on" timestamptz NOT NULL,
"updated_by" int4 NOT NULL,
PRIMARY KEY ("id")
);

0 comments on commit 1b1c1fa

Please sign in to comment.