~jlungo/zhris/trunk

« back to all changes in this revision

Viewing changes to classes/modules/install/sql/postgresql/1008A.sql

  • Committer: Juma Lungo
  • Date: 2017-11-16 08:54:53 UTC
  • Revision ID: juma.lungo@zalongwa.com-20171116085453-q3jxht0gcab8jbya
codebase commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
alter table "users" add column group_id integer DEFAULT 0;
 
2
alter table "users" add column finger_print_1 text DEFAULT NULL;
 
3
alter table "users" add column finger_print_2 text DEFAULT NULL;
 
4
alter table "users" add column finger_print_3 text DEFAULT NULL;
 
5
alter table "users" add column finger_print_4 text DEFAULT NULL;
 
6
 
 
7
CREATE TABLE user_group (
 
8
        id serial NOT NULL,
 
9
        company_id integer NOT NULL,
 
10
        name character varying NOT NULL,
 
11
        created_date integer,
 
12
        created_by integer,
 
13
        updated_date integer,
 
14
        updated_by integer,
 
15
        deleted_date integer,
 
16
        deleted_by integer,
 
17
        deleted boolean DEFAULT false NOT NULL
 
18
);
 
19
 
 
20
CREATE TABLE user_group_tree (
 
21
        tree_id integer DEFAULT 0 NOT NULL,
 
22
        parent_id integer DEFAULT 0 NOT NULL,
 
23
        object_id integer DEFAULT 0 NOT NULL,
 
24
        left_id bigint DEFAULT 0 NOT NULL,
 
25
        right_id bigint DEFAULT 0 NOT NULL
 
26
);
 
 
b'\\ No newline at end of file'