root/traduc/trunk/www/tools/docspgfr_schema.dump

Revision 994, 1.4 kB (checked in by gleu, 6 months ago)

Ajout d'un moteur de recherche basé sur PG 8.3.

Line 
1 --
2 -- PostgreSQL database dump
3 --
4
5 SET client_encoding = 'UTF8';
6 SET standard_conforming_strings = off;
7 SET check_function_bodies = false;
8 SET client_min_messages = warning;
9 SET escape_string_warning = off;
10
11 SET search_path = public, pg_catalog;
12
13 SET default_tablespace = '';
14
15 SET default_with_oids = false;
16
17 --
18 -- Name: pages; Type: TABLE; Schema: public; Owner: docspgfr; Tablespace:
19 --
20
21 CREATE TABLE pages (
22     id integer NOT NULL,
23     url text,
24     titre text,
25     tags1 text,
26     tags2 text,
27     contenu text,
28     fti tsvector,
29     version integer
30 );
31
32
33 ALTER TABLE public.pages OWNER TO docspgfr;
34
35 --
36 -- Name: pages_id_seq; Type: SEQUENCE; Schema: public; Owner: docspgfr
37 --
38
39 CREATE SEQUENCE pages_id_seq
40     START WITH 1
41     INCREMENT BY 1
42     NO MAXVALUE
43     NO MINVALUE
44     CACHE 1;
45
46
47 ALTER TABLE public.pages_id_seq OWNER TO docspgfr;
48
49 --
50 -- Name: pages_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: docspgfr
51 --
52
53 ALTER SEQUENCE pages_id_seq OWNED BY pages.id;
54
55
56 --
57 -- Name: id; Type: DEFAULT; Schema: public; Owner: docspgfr
58 --
59
60 ALTER TABLE pages ALTER COLUMN id SET DEFAULT nextval('pages_id_seq'::regclass);
61
62
63 --
64 -- Name: public; Type: ACL; Schema: -; Owner: docspgfr
65 --
66
67 REVOKE ALL ON SCHEMA public FROM PUBLIC;
68 REVOKE ALL ON SCHEMA public FROM docspgfr;
69 GRANT ALL ON SCHEMA public TO docspgfr;
70 GRANT ALL ON SCHEMA public TO PUBLIC;
71
72
73 --
74 -- PostgreSQL database dump complete
75 --
76
Note: See TracBrowser for help on using the browser.