/[phpcompta]/phpcompta/html/admin/sql/account_repository/schema.sql
ViewVC logotype

Diff of /phpcompta/html/admin/sql/account_repository/schema.sql

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by sparkyx, Sun Mar 13 16:25:41 2005 UTC revision 1.7 by sparkyx, Fri May 6 21:23:39 2005 UTC
# Line 1  Line 1 
1  SET client_encoding = 'LATIN1';  CREATE SEQUENCE users_id
2        START 1
3  CREATE SEQUENCE users_id;      INCREMENT 1
4        MAXVALUE 9223372036854775807
5        MINVALUE 1
6        CACHE 1;
7  CREATE TABLE ac_users (  CREATE TABLE ac_users (
8      use_id integer DEFAULT nextval('users_id'::text) NOT NULL,      use_id integer DEFAULT nextval('users_id'::text) NOT NULL,
9      use_first_name text,      use_first_name text,
# Line 12  CREATE TABLE ac_users ( Line 14  CREATE TABLE ac_users (
14      use_admin integer DEFAULT 0,      use_admin integer DEFAULT 0,
15      use_theme text DEFAULT 'Light'::text,      use_theme text DEFAULT 'Light'::text,
16      use_usertype text NOT NULL,      use_usertype text NOT NULL,
17      CONSTRAINT "$1" CHECK (((use_active = 0) OR (use_active = 1)))      CHECK (((use_active = 0) OR (use_active = 1)))
18  );  );
19  CREATE TABLE ac_dossier (  CREATE TABLE ac_dossier (
20      dos_id integer DEFAULT nextval('dossier_id'::text) NOT NULL,      dos_id integer DEFAULT nextval('dossier_id'::text) NOT NULL,
# Line 20  CREATE TABLE ac_dossier ( Line 22  CREATE TABLE ac_dossier (
22      dos_description text,      dos_description text,
23      dos_jnt_user integer DEFAULT 0      dos_jnt_user integer DEFAULT 0
24  );  );
25  CREATE SEQUENCE seq_jnt_use_dos;  CREATE SEQUENCE seq_jnt_use_dos
26        START 1
27        INCREMENT 1
28        MAXVALUE 9223372036854775807
29        MINVALUE 1
30        CACHE 1;
31  CREATE TABLE jnt_use_dos (  CREATE TABLE jnt_use_dos (
32      jnt_id integer DEFAULT nextval('seq_jnt_use_dos'::text) NOT NULL,      jnt_id integer DEFAULT nextval('seq_jnt_use_dos'::text) NOT NULL,
33      use_id integer NOT NULL,      use_id integer NOT NULL,
# Line 29  CREATE TABLE jnt_use_dos ( Line 36  CREATE TABLE jnt_use_dos (
36  CREATE TABLE "version" (  CREATE TABLE "version" (
37      val integer      val integer
38  );  );
39  CREATE SEQUENCE seq_priv_user;  CREATE SEQUENCE seq_priv_user
40        START 1
41        INCREMENT 1
42        MAXVALUE 9223372036854775807
43        MINVALUE 1
44        CACHE 1;
45  CREATE TABLE priv_user (  CREATE TABLE priv_user (
46      priv_id integer DEFAULT nextval('seq_priv_user'::text) NOT NULL,      priv_id integer DEFAULT nextval('seq_priv_user'::text) NOT NULL,
47      priv_jnt integer NOT NULL,      priv_jnt integer NOT NULL,
# Line 40  CREATE TABLE theme ( Line 52  CREATE TABLE theme (
52      the_filestyle text,      the_filestyle text,
53      the_filebutton text      the_filebutton text
54  );  );
55  CREATE SEQUENCE s_modid ;  CREATE SEQUENCE s_modid
56        START 5
57        INCREMENT 1
58        MAXVALUE 9223372036854775807
59        MINVALUE 1
60        CACHE 1;
61  CREATE TABLE modeledef (  CREATE TABLE modeledef (
62      mod_id integer DEFAULT nextval('s_modid'::text) NOT NULL,      mod_id integer DEFAULT nextval('s_modid'::text) NOT NULL,
63      mod_name text NOT NULL,      mod_name text NOT NULL,
64      mod_desc text      mod_desc text
65  );  );
66  CREATE SEQUENCE dossier_id;  CREATE SEQUENCE dossier_id
67        START 7
68        INCREMENT 1
69        MAXVALUE 9223372036854775807
70        MINVALUE 1
71        CACHE 1;
72  CREATE INDEX fk_jnt_use_dos ON jnt_use_dos USING btree (use_id);  CREATE INDEX fk_jnt_use_dos ON jnt_use_dos USING btree (use_id);
73  CREATE INDEX fk_jnt_dos_id ON jnt_use_dos USING btree (dos_id);  CREATE INDEX fk_jnt_dos_id ON jnt_use_dos USING btree (dos_id);
74  ALTER TABLE ONLY ac_users  ALTER TABLE ONLY ac_users

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26