/[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.5 by sparkyx, Sun Feb 27 14:23:38 2005 UTC revision 1.6 by sparkyx, Sun Mar 13 16:25:41 2005 UTC
# Line 1  Line 1 
1  SET client_encoding = 'LATIN1';  SET client_encoding = 'LATIN1';
2  SET check_function_bodies = false;  
3  SET search_path = public, pg_catalog;  CREATE SEQUENCE users_id;
4  CREATE SEQUENCE users_id  
     INCREMENT BY 1  
     NO MAXVALUE  
     NO MINVALUE  
     CACHE 1;  
5  CREATE TABLE ac_users (  CREATE TABLE ac_users (
6      use_id integer DEFAULT nextval('users_id'::text) NOT NULL,      use_id integer DEFAULT nextval('users_id'::text) NOT NULL,
7      use_first_name text,      use_first_name text,
# Line 24  CREATE TABLE ac_dossier ( Line 20  CREATE TABLE ac_dossier (
20      dos_description text,      dos_description text,
21      dos_jnt_user integer DEFAULT 0      dos_jnt_user integer DEFAULT 0
22  );  );
23  CREATE SEQUENCE seq_jnt_use_dos  CREATE SEQUENCE seq_jnt_use_dos;
     INCREMENT BY 1  
     NO MAXVALUE  
     NO MINVALUE  
     CACHE 1;  
24  CREATE TABLE jnt_use_dos (  CREATE TABLE jnt_use_dos (
25      jnt_id integer DEFAULT nextval('seq_jnt_use_dos'::text) NOT NULL,      jnt_id integer DEFAULT nextval('seq_jnt_use_dos'::text) NOT NULL,
26      use_id integer NOT NULL,      use_id integer NOT NULL,
# Line 37  CREATE TABLE jnt_use_dos ( Line 29  CREATE TABLE jnt_use_dos (
29  CREATE TABLE "version" (  CREATE TABLE "version" (
30      val integer      val integer
31  );  );
32  CREATE SEQUENCE seq_priv_user  CREATE SEQUENCE seq_priv_user;
     INCREMENT BY 1  
     NO MAXVALUE  
     NO MINVALUE  
     CACHE 1;  
33  CREATE TABLE priv_user (  CREATE TABLE priv_user (
34      priv_id integer DEFAULT nextval('seq_priv_user'::text) NOT NULL,      priv_id integer DEFAULT nextval('seq_priv_user'::text) NOT NULL,
35      priv_jnt integer NOT NULL,      priv_jnt integer NOT NULL,
# Line 52  CREATE TABLE theme ( Line 40  CREATE TABLE theme (
40      the_filestyle text,      the_filestyle text,
41      the_filebutton text      the_filebutton text
42  );  );
43  CREATE SEQUENCE s_modid  CREATE SEQUENCE s_modid ;
     START WITH 1  
     INCREMENT BY 1  
     NO MAXVALUE  
     NO MINVALUE  
     CACHE 1;  
44  CREATE TABLE modeledef (  CREATE TABLE modeledef (
45      mod_id integer DEFAULT nextval('s_modid'::text) NOT NULL,      mod_id integer DEFAULT nextval('s_modid'::text) NOT NULL,
46      mod_name text NOT NULL,      mod_name text NOT NULL,
47      mod_desc text      mod_desc text
48  );  );
49  CREATE SEQUENCE dossier_id  CREATE SEQUENCE dossier_id;
50      INCREMENT BY 1  
     NO MAXVALUE  
     MINVALUE 3  
     CACHE 1;  
51  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);
52  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);
53  ALTER TABLE ONLY ac_users  ALTER TABLE ONLY ac_users

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

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