/[inncomm]/.data/inncomm.sql.prazno
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /.data/inncomm.sql.prazno

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations)
Fri Jan 5 13:31:34 2001 UTC (23 years, 3 months ago) by dpavlin
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +4 -6 lines
fix login check via pop3, update last login timestamp

1 \connect - dpavlin
2 CREATE SEQUENCE "osobe_id_seq" start 10 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
3 SELECT nextval ('osobe_id_seq');
4 CREATE SEQUENCE "poruke_id_seq" start 25 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
5 SELECT nextval ('poruke_id_seq');
6 CREATE SEQUENCE "attach_id_seq" start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
7 CREATE TABLE "osobe" (
8 "id" int4 DEFAULT nextval ( 'osobe_id_seq' ) NOT NULL,
9 "login" character varying(30),
10 "full_name" character varying(100),
11 "email" character varying(100),
12 "passwd" character varying(10),
13 "upisan" timestamp DEFAULT now ( ),
14 "analitical" bool DEFAULT 'f',
15 "solution" bool DEFAULT 'f',
16 "last_login" timestamp);
17 CREATE TABLE "poruke" (
18 "id" int4 DEFAULT nextval ( 'poruke_id_seq' ) NOT NULL,
19 "thread_id" int4,
20 "reply_id" int4,
21 "osoba_id" int4 NOT NULL,
22 "datum" timestamp DEFAULT now ( ),
23 "level" int4 DEFAULT 1,
24 "sadrzaj" text,
25 "pos" character varying(200) DEFAULT 'a',
26 "analitical" bool DEFAULT 'f',
27 "solution" bool DEFAULT 'f');
28 CREATE TABLE "attach" (
29 "id" int4 DEFAULT nextval ( 'attach_id_seq' ) NOT NULL,
30 "poruka_id" int4 NOT NULL,
31 "data" text);
32 CREATE TABLE "topics" (
33 "id" int4,
34 "title" character varying(100),
35 "datum" timestamp DEFAULT now ( ));
36 CREATE FUNCTION "plpgsql_call_handler" ( ) RETURNS opaque AS '/usr/lib/pgsql/plpgsql.so' LANGUAGE 'C';
37 CREATE PROCEDURAL LANGUAGE 'plpgsql' HANDLER "plpgsql_call_handler" LANCOMPILER 'PL/pgSQL';
38 CREATE UNIQUE INDEX "osobe_id_key" on "osobe" using btree ( "id" "int4_ops" );
39 CREATE UNIQUE INDEX "poruke_id_key" on "poruke" using btree ( "id" "int4_ops" );
40 CREATE UNIQUE INDEX "attach_id_key" on "attach" using btree ( "id" "int4_ops" );

  ViewVC Help
Powered by ViewVC 1.1.26