1
0
Fork 0

serials as id field

git-svn-id: file:///home/www/usr01/svn/gnuviechadmin/gnuviech.info/gnuviechadmin/trunk@20 a67ec6bc-e5d5-0310-a910-815c51eb3124
This commit is contained in:
Jan Dittberner 2003-11-23 15:08:05 +00:00
parent 5c88fa6e63
commit cb5aa0c7c8

View file

@ -5,23 +5,23 @@
SET search_path = public, pg_catalog;
--
-- TOC entry 2 (OID 16981)
-- TOC entry 2 (OID 17132)
-- Name: country; Type: TABLE; Schema: public; Owner: gnuviech
--
CREATE TABLE country (
id integer NOT NULL,
id serial NOT NULL,
name character varying(40) NOT NULL
);
--
-- TOC entry 3 (OID 16993)
-- TOC entry 3 (OID 17137)
-- Name: client; Type: TABLE; Schema: public; Owner: gnuviech
--
CREATE TABLE client (
id integer NOT NULL,
id serial NOT NULL,
firstname character varying(40) NOT NULL,
lastname character varying(40) NOT NULL,
address1 character varying(40) NOT NULL,
@ -38,23 +38,23 @@ CREATE TABLE client (
--
-- TOC entry 4 (OID 17004)
-- TOC entry 4 (OID 17143)
-- Name: reseller; Type: TABLE; Schema: public; Owner: gnuviech
--
CREATE TABLE reseller (
id integer NOT NULL,
id serial NOT NULL,
name character varying(40) NOT NULL
);
--
-- TOC entry 5 (OID 17015)
-- TOC entry 5 (OID 17148)
-- Name: email; Type: TABLE; Schema: public; Owner: gnuviech
--
CREATE TABLE email (
id integer NOT NULL,
id serial NOT NULL,
email character varying(128) NOT NULL,
client integer,
verified boolean DEFAULT false NOT NULL
@ -62,12 +62,12 @@ CREATE TABLE email (
--
-- TOC entry 6 (OID 17026)
-- TOC entry 6 (OID 17154)
-- Name: sysuser; Type: TABLE; Schema: public; Owner: gnuviech
--
CREATE TABLE sysuser (
id integer NOT NULL,
id serial NOT NULL,
name character varying(12) NOT NULL,
"type" integer DEFAULT 0 NOT NULL,
home character varying(128),
@ -80,12 +80,12 @@ CREATE TABLE sysuser (
--
-- TOC entry 7 (OID 17038)
-- TOC entry 7 (OID 17161)
-- Name: domain; Type: TABLE; Schema: public; Owner: gnuviech
--
CREATE TABLE "domain" (
id integer NOT NULL,
id serial NOT NULL,
domainname character varying(64) NOT NULL,
client integer NOT NULL,
status integer DEFAULT 0 NOT NULL
@ -93,12 +93,12 @@ CREATE TABLE "domain" (
--
-- TOC entry 8 (OID 17047)
-- TOC entry 8 (OID 17167)
-- Name: zone; Type: TABLE; Schema: public; Owner: gnuviech
--
CREATE TABLE "zone" (
id integer NOT NULL,
id serial NOT NULL,
"domain" integer NOT NULL,
"type" character varying(5) NOT NULL,
ttl integer NOT NULL,
@ -109,7 +109,7 @@ CREATE TABLE "zone" (
--
-- TOC entry 12 (OID 17012)
-- TOC entry 12 (OID 17171)
-- Name: reseller_name_idx; Type: INDEX; Schema: public; Owner: gnuviech
--
@ -117,7 +117,7 @@ CREATE UNIQUE INDEX reseller_name_idx ON reseller USING btree (name);
--
-- TOC entry 9 (OID 17014)
-- TOC entry 9 (OID 17172)
-- Name: country_name_idx; Type: INDEX; Schema: public; Owner: gnuviech
--
@ -125,7 +125,7 @@ CREATE UNIQUE INDEX country_name_idx ON country USING btree (name);
--
-- TOC entry 18 (OID 17037)
-- TOC entry 18 (OID 17173)
-- Name: sysuser_type_idx; Type: INDEX; Schema: public; Owner: gnuviech
--
@ -133,7 +133,7 @@ CREATE INDEX sysuser_type_idx ON sysuser USING btree ("type");
--
-- TOC entry 10 (OID 16983)
-- TOC entry 10 (OID 17174)
-- Name: country_pkey; Type: CONSTRAINT; Schema: public; Owner: gnuviech
--
@ -142,7 +142,7 @@ ALTER TABLE ONLY country
--
-- TOC entry 11 (OID 16995)
-- TOC entry 11 (OID 17176)
-- Name: client_pkey; Type: CONSTRAINT; Schema: public; Owner: gnuviech
--
@ -151,7 +151,7 @@ ALTER TABLE ONLY client
--
-- TOC entry 21 (OID 16997)
-- TOC entry 21 (OID 17178)
-- Name: $1; Type: CONSTRAINT; Schema: public; Owner: gnuviech
--
@ -160,7 +160,7 @@ ALTER TABLE ONLY client
--
-- TOC entry 13 (OID 17006)
-- TOC entry 13 (OID 17182)
-- Name: reseller_pkey; Type: CONSTRAINT; Schema: public; Owner: gnuviech
--
@ -169,7 +169,7 @@ ALTER TABLE ONLY reseller
--
-- TOC entry 22 (OID 17008)
-- TOC entry 22 (OID 17184)
-- Name: $2; Type: CONSTRAINT; Schema: public; Owner: gnuviech
--
@ -178,7 +178,7 @@ ALTER TABLE ONLY client
--
-- TOC entry 15 (OID 17018)
-- TOC entry 15 (OID 17188)
-- Name: email_pkey; Type: CONSTRAINT; Schema: public; Owner: gnuviech
--
@ -187,7 +187,7 @@ ALTER TABLE ONLY email
--
-- TOC entry 14 (OID 17020)
-- TOC entry 14 (OID 17190)
-- Name: email_email_key; Type: CONSTRAINT; Schema: public; Owner: gnuviech
--
@ -196,7 +196,7 @@ ALTER TABLE ONLY email
--
-- TOC entry 23 (OID 17022)
-- TOC entry 23 (OID 17192)
-- Name: $1; Type: CONSTRAINT; Schema: public; Owner: gnuviech
--
@ -205,7 +205,7 @@ ALTER TABLE ONLY email
--
-- TOC entry 17 (OID 17029)
-- TOC entry 17 (OID 17196)
-- Name: sysuser_pkey; Type: CONSTRAINT; Schema: public; Owner: gnuviech
--
@ -214,7 +214,7 @@ ALTER TABLE ONLY sysuser
--
-- TOC entry 16 (OID 17031)
-- TOC entry 16 (OID 17198)
-- Name: sysuser_name_key; Type: CONSTRAINT; Schema: public; Owner: gnuviech
--
@ -223,7 +223,7 @@ ALTER TABLE ONLY sysuser
--
-- TOC entry 24 (OID 17033)
-- TOC entry 24 (OID 17200)
-- Name: $1; Type: CONSTRAINT; Schema: public; Owner: gnuviech
--
@ -232,7 +232,7 @@ ALTER TABLE ONLY sysuser
--
-- TOC entry 19 (OID 17041)
-- TOC entry 19 (OID 17204)
-- Name: domain_pkey; Type: CONSTRAINT; Schema: public; Owner: gnuviech
--
@ -241,7 +241,7 @@ ALTER TABLE ONLY "domain"
--
-- TOC entry 25 (OID 17043)
-- TOC entry 25 (OID 17206)
-- Name: $1; Type: CONSTRAINT; Schema: public; Owner: gnuviech
--
@ -250,7 +250,7 @@ ALTER TABLE ONLY "domain"
--
-- TOC entry 20 (OID 17050)
-- TOC entry 20 (OID 17210)
-- Name: zone_pkey; Type: CONSTRAINT; Schema: public; Owner: gnuviech
--
@ -259,7 +259,7 @@ ALTER TABLE ONLY "zone"
--
-- TOC entry 26 (OID 17052)
-- TOC entry 26 (OID 17212)
-- Name: $1; Type: CONSTRAINT; Schema: public; Owner: gnuviech
--