Separate sql instead of a big sql

This commit is contained in:
sparkyx 2004-09-22 19:21:57 +00:00
parent b3012e966c
commit 33a1616a67
28 changed files with 6539 additions and 133 deletions

View file

@ -1,27 +1,12 @@
-- Table: public.priv_user
/*
* This file is part of PhpCompta.
*
* PhpCompta is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* PhpCompta is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with PhpCompta; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
CREATE SEQUENCE seq_priv_user;
-- DROP TABLE public.priv_user;
CREATE TABLE public.priv_user
(
priv_id int4 NOT NULL DEFAULT nextval('seq_priv_user'::text),
priv_jnt int4 NOT NULL,
priv_priv text
) WITH OIDS;
CREATE TABLE priv_user (
priv_id integer DEFAULT nextval('seq_priv_user'::text) NOT NULL,
priv_jnt integer NOT NULL,
priv_priv text
);