root/trunk/wifidog-auth/sql/wifidog-postgres-initial-data.sql @ 1261

Revision 1261, 8.3 KB (checked in by benoitg, 6 years ago)
  • At long last, implement #9: Automatic new node creation. When attempting to login from an unknown node, the user (if he has the permissions) will be prompted to create the node, or "steal" en existing one (for hardware swaps).
  • Refactor Node:getSelectNodeUI().
  • Menu.php: Fix small oversight causing menu not to clear.
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1BEGIN;
2--
3-- PostgreSQL database dump
4--
5
6SET client_encoding = 'UTF8';
7SET standard_conforming_strings = off;
8SET check_function_bodies = false;
9SET client_min_messages = warning;
10SET escape_string_warning = off;
11
12SET search_path = public, pg_catalog;
13
14--
15-- Data for Name: token_status; Type: TABLE DATA; Schema: public; Owner: wifidog
16--
17
18INSERT INTO token_status (token_status) VALUES ('UNUSED');
19INSERT INTO token_status (token_status) VALUES ('INUSE');
20INSERT INTO token_status (token_status) VALUES ('USED');
21
22
23--
24-- PostgreSQL database dump complete
25--
26
27--
28-- PostgreSQL database dump
29--
30
31SET client_encoding = 'UTF8';
32SET standard_conforming_strings = off;
33SET check_function_bodies = false;
34SET client_min_messages = warning;
35SET escape_string_warning = off;
36
37SET search_path = public, pg_catalog;
38
39--
40-- Data for Name: venue_types; Type: TABLE DATA; Schema: public; Owner: wifidog
41--
42
43INSERT INTO venue_types (venue_type) VALUES ('Airline');
44INSERT INTO venue_types (venue_type) VALUES ('Airport Terminal/Lounge');
45INSERT INTO venue_types (venue_type) VALUES ('Bus Station');
46INSERT INTO venue_types (venue_type) VALUES ('Business/Conference Center');
47INSERT INTO venue_types (venue_type) VALUES ('Cafe/Coffee Shop');
48INSERT INTO venue_types (venue_type) VALUES ('Camp Ground');
49INSERT INTO venue_types (venue_type) VALUES ('Community Network');
50INSERT INTO venue_types (venue_type) VALUES ('Convention Center');
51INSERT INTO venue_types (venue_type) VALUES ('Cruise Ship');
52INSERT INTO venue_types (venue_type) VALUES ('Copy Center/Business Services');
53INSERT INTO venue_types (venue_type) VALUES ('Entertainment Venues');
54INSERT INTO venue_types (venue_type) VALUES ('Gas/Petrol Station');
55INSERT INTO venue_types (venue_type) VALUES ('Hospital');
56INSERT INTO venue_types (venue_type) VALUES ('Hotel');
57INSERT INTO venue_types (venue_type) VALUES ('Internet Cafe');
58INSERT INTO venue_types (venue_type) VALUES ('Kiosk');
59INSERT INTO venue_types (venue_type) VALUES ('Library');
60INSERT INTO venue_types (venue_type) VALUES ('Marina/Harbour');
61INSERT INTO venue_types (venue_type) VALUES ('Motorway Travel Center/TruckStop');
62INSERT INTO venue_types (venue_type) VALUES ('Office Building/Complex');
63INSERT INTO venue_types (venue_type) VALUES ('Other');
64INSERT INTO venue_types (venue_type) VALUES ('Park');
65INSERT INTO venue_types (venue_type) VALUES ('Pay Phone/Booth');
66INSERT INTO venue_types (venue_type) VALUES ('Port/Ferry Terminal');
67INSERT INTO venue_types (venue_type) VALUES ('Residential Housing/Apt Bldg');
68INSERT INTO venue_types (venue_type) VALUES ('Restaurant/Bar/Pub');
69INSERT INTO venue_types (venue_type) VALUES ('School/University');
70INSERT INTO venue_types (venue_type) VALUES ('Shopping Center');
71INSERT INTO venue_types (venue_type) VALUES ('Sports Arena/Venue');
72INSERT INTO venue_types (venue_type) VALUES ('Store/Retail Shop');
73INSERT INTO venue_types (venue_type) VALUES ('Train');
74INSERT INTO venue_types (venue_type) VALUES ('Train/Rail Station');
75INSERT INTO venue_types (venue_type) VALUES ('Water Travel');
76INSERT INTO venue_types (venue_type) VALUES ('Wi-Fi Zone');
77
78
79--
80-- PostgreSQL database dump complete
81--
82
83--
84-- PostgreSQL database dump
85--
86
87SET client_encoding = 'UTF8';
88SET standard_conforming_strings = off;
89SET check_function_bodies = false;
90SET client_min_messages = warning;
91SET escape_string_warning = off;
92
93SET search_path = public, pg_catalog;
94
95--
96-- Data for Name: node_deployment_status; Type: TABLE DATA; Schema: public; Owner: wifidog
97--
98
99INSERT INTO node_deployment_status (node_deployment_status) VALUES ('DEPLOYED');
100INSERT INTO node_deployment_status (node_deployment_status) VALUES ('IN_PLANNING');
101INSERT INTO node_deployment_status (node_deployment_status) VALUES ('IN_TESTING');
102INSERT INTO node_deployment_status (node_deployment_status) VALUES ('NON_WIFIDOG_NODE');
103INSERT INTO node_deployment_status (node_deployment_status) VALUES ('PERMANENTLY_CLOSED');
104INSERT INTO node_deployment_status (node_deployment_status) VALUES ('TEMPORARILY_CLOSED');
105
106
107--
108-- PostgreSQL database dump complete
109--
110
111--
112-- PostgreSQL database dump
113--
114
115SET client_encoding = 'UTF8';
116SET standard_conforming_strings = off;
117SET check_function_bodies = false;
118SET client_min_messages = warning;
119SET escape_string_warning = off;
120
121SET search_path = public, pg_catalog;
122
123--
124-- Data for Name: content_available_display_areas; Type: TABLE DATA; Schema: public; Owner: wifidog
125--
126
127INSERT INTO content_available_display_areas (display_area) VALUES ('page_header');
128INSERT INTO content_available_display_areas (display_area) VALUES ('page_footer');
129INSERT INTO content_available_display_areas (display_area) VALUES ('left_area_middle');
130INSERT INTO content_available_display_areas (display_area) VALUES ('left_area_bottom');
131INSERT INTO content_available_display_areas (display_area) VALUES ('main_area_top');
132INSERT INTO content_available_display_areas (display_area) VALUES ('main_area_middle');
133INSERT INTO content_available_display_areas (display_area) VALUES ('main_area_bottom');
134INSERT INTO content_available_display_areas (display_area) VALUES ('right_area_top');
135INSERT INTO content_available_display_areas (display_area) VALUES ('right_area_middle');
136INSERT INTO content_available_display_areas (display_area) VALUES ('right_area_bottom');
137INSERT INTO content_available_display_areas (display_area) VALUES ('left_area_top');
138
139
140--
141-- PostgreSQL database dump complete
142--
143
144--
145-- PostgreSQL database dump
146--
147
148SET client_encoding = 'UTF8';
149SET standard_conforming_strings = off;
150SET check_function_bodies = false;
151SET client_min_messages = warning;
152SET escape_string_warning = off;
153
154SET search_path = public, pg_catalog;
155
156--
157-- Data for Name: content_available_display_pages; Type: TABLE DATA; Schema: public; Owner: wifidog
158--
159
160INSERT INTO content_available_display_pages (display_page) VALUES ('login');
161INSERT INTO content_available_display_pages (display_page) VALUES ('portal');
162INSERT INTO content_available_display_pages (display_page) VALUES ('everywhere');
163
164
165--
166-- PostgreSQL database dump complete
167--
168
169--
170-- PostgreSQL database dump
171--
172
173SET client_encoding = 'UTF8';
174SET standard_conforming_strings = off;
175SET check_function_bodies = false;
176SET client_min_messages = warning;
177SET escape_string_warning = off;
178
179SET search_path = public, pg_catalog;
180
181--
182-- Data for Name: stakeholder_types; Type: TABLE DATA; Schema: public; Owner: wifidog
183--
184
185INSERT INTO stakeholder_types (stakeholder_type_id) VALUES ('Node');
186INSERT INTO stakeholder_types (stakeholder_type_id) VALUES ('Network');
187INSERT INTO stakeholder_types (stakeholder_type_id) VALUES ('Server');
188INSERT INTO stakeholder_types (stakeholder_type_id) VALUES ('Content');
189
190
191--
192-- PostgreSQL database dump complete
193--
194
195INSERT INTO networks (network_id, network_authenticator_class, network_authenticator_params) VALUES ('default-network', 'AuthenticatorLocalUser', '\'default-network\'');
196INSERT INTO nodes (network_id, node_id, gw_id, name) VALUES ('default-network', 'default', 'default', 'My first node');
197INSERT INTO virtual_hosts (virtual_host_id, hostname, default_network) VALUES ('DEFAULT_VHOST', 'localhost', 'default-network');
198INSERT INTO server (server_id, default_virtual_host) VALUES ('SERVER_ID', 'DEFAULT_VHOST');
199INSERT into roles (role_id, stakeholder_type_id) VALUES ('SERVER_SYSADMIN', 'Server');
200INSERT into roles (role_id, stakeholder_type_id) VALUES ('NETWORK_SYSADMIN', 'Network');
201--
202-- PostgreSQL database dump
203--
204
205SET client_encoding = 'UTF8';
206SET standard_conforming_strings = off;
207SET check_function_bodies = false;
208SET client_min_messages = warning;
209SET escape_string_warning = off;
210
211SET search_path = public, pg_catalog;
212
213--
214-- Data for Name: schema_info; Type: TABLE DATA; Schema: public; Owner: wifidog
215--
216
217INSERT INTO schema_info (tag, value) VALUES ('schema_version', '56');
218
219
220--
221-- PostgreSQL database dump complete
222--
223
224--
225-- PostgreSQL database dump
226--
227
228SET client_encoding = 'UTF8';
229SET standard_conforming_strings = off;
230SET check_function_bodies = false;
231SET client_min_messages = warning;
232SET escape_string_warning = off;
233
234SET search_path = public, pg_catalog;
235
236--
237-- Data for Name: locales; Type: TABLE DATA; Schema: public; Owner: wifidog
238--
239
240INSERT INTO locales (locales_id) VALUES ('fr');
241INSERT INTO locales (locales_id) VALUES ('en');
242INSERT INTO locales (locales_id) VALUES ('de');
243INSERT INTO locales (locales_id) VALUES ('pt');
244INSERT INTO locales (locales_id) VALUES ('ja');
245INSERT INTO locales (locales_id) VALUES ('es');
246
247
248--
249-- PostgreSQL database dump complete
250--
251
252COMMIT;
Note: See TracBrowser for help on using the browser.