liquid_feedback_core

view init.sql @ 7:69d84040fb93

Version beta8

More attibutes in member table

Renamed column ident_number of member table to identification

Images of members are now stored in extra table member_image

Minor bugfix in init.sql: Added missing verification_time column

Full text index search support using PostgreSQL's TSVECTOR and TSQUERY datatypes

New function highlight(...), which helps to highlight matching words in search results
author jbe
date Mon Nov 23 12:00:00 2009 +0100 (2009-11-23)
parents 8d021cb5eaf4
children 4af4df1415f9
line source
1 -- NOTE: This file creates an admin user with an empty password!
3 BEGIN;
5 INSERT INTO "member" (
6 "id",
7 "login",
8 "password",
9 "active",
10 "admin",
11 "name"
12 ) VALUES (
13 DEFAULT,
14 'admin',
15 '',
16 TRUE,
17 TRUE,
18 'Administrator' );
20 INSERT INTO "policy" (
21 "id",
22 "active",
23 "name",
24 "description",
25 "admission_time",
26 "discussion_time",
27 "verification_time",
28 "voting_time",
29 "issue_quorum_num",
30 "issue_quorum_den",
31 "initiative_quorum_num",
32 "initiative_quorum_den"
33 ) VALUES (
34 DEFAULT,
35 TRUE,
36 'Extensive proceeding',
37 DEFAULT,
38 '1 month',
39 '5 months',
40 '1 month',
41 '3 weeks',
42 10, 100,
43 10, 100
44 ), (
45 DEFAULT,
46 TRUE,
47 'Standard proceeding',
48 DEFAULT,
49 '1 month',
50 '1 month',
51 '1 week',
52 '1 week',
53 10, 100,
54 10, 100
55 ), (
56 DEFAULT,
57 TRUE,
58 'Fast proceeding',
59 DEFAULT,
60 '48 hours',
61 '3 hours',
62 '1 hour',
63 '20 hours',
64 1, 100,
65 1, 100 );
67 INSERT INTO "area" (
68 "id",
69 "active",
70 "name",
71 "description"
72 ) VALUES (
73 DEFAULT,
74 TRUE,
75 'Generic area',
76 DEFAULT );
78 COMMIT;

Impressum / About Us