Advertisement
biqdev

Untitled

Sep 10th, 2019
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. -- Drop table
  3.  
  4. -- DROP TABLE back_office.control_list;
  5.  
  6. CREATE TABLE back_office.control_list (
  7.     id int2 NOT NULL,
  8.     name varchar(100) NOT NULL,
  9.     "group" varchar(100) NOT NULL DEFAULT ''::character varying,
  10.     is_active bool NOT NULL DEFAULT true,
  11.     CONSTRAINT control_list_pk PRIMARY KEY (id),
  12.     CONSTRAINT control_list_un UNIQUE (name)
  13. );
  14. CREATE INDEX control_list_permission_idx ON back_office.control_list USING btree (name);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement