Skip to content

Commit b84ac07

Browse files
sql files
1 parent c940489 commit b84ac07

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
BEGIN;
2+
-- Drop Table: license_attributes
3+
DROP TABLE IF EXISTS "public"."license_attributes";
4+
5+
-- Drop Sequence: id_seq_license_attributes
6+
DROP SEQUENCE IF EXISTS id_seq_license_attributes;
7+
8+
COMMIT;
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
BEGIN;
2+
-- Sequence
3+
CREATE SEQUENCE IF NOT EXISTS id_seq_license_attributes;
4+
5+
-- Table Definition
6+
CREATE TABLE IF NOT EXISTS "public"."license_attributes" (
7+
"id" int4 NOT NULL DEFAULT nextval('id_seq_license_attributes'::regclass),
8+
"key" varchar(250) NOT NULL,
9+
"value" TEXT NOT NULL,
10+
"active" bool NOT NULL,
11+
"created_on" timestamptz,
12+
"created_by" integer,
13+
"updated_on" timestamptz,
14+
"updated_by" integer,
15+
PRIMARY KEY ("id")
16+
);
17+
18+
COMMIT;

0 commit comments

Comments
 (0)