|
@@ -0,0 +1,365 @@
|
|
1
|
+--
|
|
2
|
+-- PostgreSQL database dump
|
|
3
|
+--
|
|
4
|
+--
|
|
5
|
+-- Data for Name: camera_types; Type: TABLE DATA; Schema: public; Owner: dev
|
|
6
|
+--
|
|
7
|
+
|
|
8
|
+INSERT INTO camera_types VALUES (3, 'Trendnet TV-IP311PI', 'App\Http\Business\Cameras\Trendnet\TVIP311PI', '{"Host": "http://camX.example.com","Port":6080, "Username": "user", "Password": "PA$$W0RD"}');
|
|
9
|
+INSERT INTO camera_types VALUES (1, 'Dummy', '\App\Http\Business\Cameras\DummyCamera', '{}');
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+--
|
|
13
|
+-- Name: camera_types_id_seq; Type: SEQUENCE SET; Schema: public; Owner: dev
|
|
14
|
+--
|
|
15
|
+
|
|
16
|
+SELECT pg_catalog.setval('camera_types_id_seq', 3, true);
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+--
|
|
20
|
+-- Data for Name: hosts; Type: TABLE DATA; Schema: public; Owner: dev
|
|
21
|
+--
|
|
22
|
+
|
|
23
|
+INSERT INTO hosts VALUES (9, 'Test.', 'http://backend.camotion.internal.docker/', 'change_it');
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+--
|
|
27
|
+-- Data for Name: cameras; Type: TABLE DATA; Schema: public; Owner: dev
|
|
28
|
+--
|
|
29
|
+
|
|
30
|
+INSERT INTO cameras VALUES (9, 'Test.', 'Test. description', 9, 1, '{}');
|
|
31
|
+INSERT INTO cameras VALUES (6, 'Test.2', 'Test.2 description', 9, 1, '{}');
|
|
32
|
+INSERT INTO cameras VALUES (7, 'Test.3', 'Test.3 description', 9, 1, '{}');
|
|
33
|
+INSERT INTO cameras VALUES (8, 'Test.4', 'Test.4 description', 9, 1, '{}');
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+--
|
|
37
|
+-- Name: cameras_id_seq; Type: SEQUENCE SET; Schema: public; Owner: dev
|
|
38
|
+--
|
|
39
|
+
|
|
40
|
+SELECT pg_catalog.setval('cameras_id_seq', 11, true);
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+--
|
|
44
|
+-- Data for Name: command_types; Type: TABLE DATA; Schema: public; Owner: dev
|
|
45
|
+--
|
|
46
|
+
|
|
47
|
+INSERT INTO command_types VALUES (1, 'Dummy command', 'App\Http\Business\Commands\DummyCommand', '{"Success": true}');
|
|
48
|
+INSERT INTO command_types VALUES (2, 'Wake on LAN', 'App\Http\Business\Commands\WakeOnLanCommand', '{"IP": "255.255.255.255", "Port": 9, "MACs": ["ff:ff:ff:ff:ff:ff"]}');
|
|
49
|
+INSERT INTO command_types VALUES (3, 'PiFace Digital', 'App\Http\Business\Commands\PiFaceCommand', '{"Commands":["device=0","up=0", "sleep=500", "down=0"]}');
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+--
|
|
53
|
+-- Name: command_types_id_seq; Type: SEQUENCE SET; Schema: public; Owner: dev
|
|
54
|
+--
|
|
55
|
+
|
|
56
|
+SELECT pg_catalog.setval('command_types_id_seq', 3, true);
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+--
|
|
60
|
+-- Data for Name: commands; Type: TABLE DATA; Schema: public; Owner: dev
|
|
61
|
+--
|
|
62
|
+
|
|
63
|
+INSERT INTO commands VALUES (1, 'Dummy command', 'Command that will fail', 9, 1, '{"Success":false}');
|
|
64
|
+INSERT INTO commands VALUES (2, 'Dummy command 2', 'Command that will succeed', 9, 1, '{"Success":true}');
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+--
|
|
68
|
+-- Name: commands_id_seq; Type: SEQUENCE SET; Schema: public; Owner: dev
|
|
69
|
+--
|
|
70
|
+
|
|
71
|
+SELECT pg_catalog.setval('commands_id_seq', 4, true);
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+--
|
|
75
|
+-- Name: hosts_id_seq; Type: SEQUENCE SET; Schema: public; Owner: dev
|
|
76
|
+--
|
|
77
|
+
|
|
78
|
+SELECT pg_catalog.setval('hosts_id_seq', 10, true);
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+--
|
|
82
|
+-- Data for Name: luticate_groups; Type: TABLE DATA; Schema: public; Owner: dev
|
|
83
|
+--
|
|
84
|
+
|
|
85
|
+INSERT INTO luticate_groups VALUES (0, 'Super Administrators');
|
|
86
|
+INSERT INTO luticate_groups VALUES (1, 'Administrators');
|
|
87
|
+INSERT INTO luticate_groups VALUES (3, 'Cameras');
|
|
88
|
+INSERT INTO luticate_groups VALUES (4, 'Sensors');
|
|
89
|
+INSERT INTO luticate_groups VALUES (5, 'Commands');
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+--
|
|
93
|
+-- Name: luticate_groups_id_seq; Type: SEQUENCE SET; Schema: public; Owner: dev
|
|
94
|
+--
|
|
95
|
+
|
|
96
|
+SELECT pg_catalog.setval('luticate_groups_id_seq', 5, true);
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+--
|
|
100
|
+-- Data for Name: luticate_permissions; Type: TABLE DATA; Schema: public; Owner: dev
|
|
101
|
+--
|
|
102
|
+
|
|
103
|
+INSERT INTO luticate_permissions VALUES ('LU_USER_GET', false);
|
|
104
|
+INSERT INTO luticate_permissions VALUES ('LU_USER_SET_PASSWORD', false);
|
|
105
|
+INSERT INTO luticate_permissions VALUES ('LU_USER_LOGIN', true);
|
|
106
|
+INSERT INTO luticate_permissions VALUES ('LU_USER_EDIT_ME', true);
|
|
107
|
+INSERT INTO luticate_permissions VALUES ('LU_USER_SET_PASSWORD_ME', true);
|
|
108
|
+INSERT INTO luticate_permissions VALUES ('LU_GROUP_ADD', false);
|
|
109
|
+INSERT INTO luticate_permissions VALUES ('LU_GROUP_DEL', false);
|
|
110
|
+INSERT INTO luticate_permissions VALUES ('LU_GROUP_EDIT', false);
|
|
111
|
+INSERT INTO luticate_permissions VALUES ('LU_GROUP_USER_ADD', false);
|
|
112
|
+INSERT INTO luticate_permissions VALUES ('LU_GROUP_USER_DEL', false);
|
|
113
|
+INSERT INTO luticate_permissions VALUES ('LU_PERM_ADD', false);
|
|
114
|
+INSERT INTO luticate_permissions VALUES ('LU_PERM_DEL', false);
|
|
115
|
+INSERT INTO luticate_permissions VALUES ('LU_PERM_EDIT', false);
|
|
116
|
+INSERT INTO luticate_permissions VALUES ('LU_PERM_EFFECTIVE_GET', false);
|
|
117
|
+INSERT INTO luticate_permissions VALUES ('LU_PERM_GET', false);
|
|
118
|
+INSERT INTO luticate_permissions VALUES ('LU_PERM_GROUP_ADD', false);
|
|
119
|
+INSERT INTO luticate_permissions VALUES ('LU_PERM_GROUP_DEL', false);
|
|
120
|
+INSERT INTO luticate_permissions VALUES ('LU_PERM_GROUP_EDIT', false);
|
|
121
|
+INSERT INTO luticate_permissions VALUES ('LU_PERM_GROUP_GET', false);
|
|
122
|
+INSERT INTO luticate_permissions VALUES ('LU_GROUP_GET', false);
|
|
123
|
+INSERT INTO luticate_permissions VALUES ('LU_PERM_USER_ADD', false);
|
|
124
|
+INSERT INTO luticate_permissions VALUES ('LU_PERM_USER_DEL', false);
|
|
125
|
+INSERT INTO luticate_permissions VALUES ('LU_PERM_USER_EDIT', false);
|
|
126
|
+INSERT INTO luticate_permissions VALUES ('LU_USER_EDIT', false);
|
|
127
|
+INSERT INTO luticate_permissions VALUES ('LU_USER_DEL', false);
|
|
128
|
+INSERT INTO luticate_permissions VALUES ('LU_USER_ADD', false);
|
|
129
|
+INSERT INTO luticate_permissions VALUES ('LU_PERM_USER_GET', false);
|
|
130
|
+INSERT INTO luticate_permissions VALUES ('CAMOTION_HOST_ADD', false);
|
|
131
|
+INSERT INTO luticate_permissions VALUES ('CAMOTION_HOST_DEL', false);
|
|
132
|
+INSERT INTO luticate_permissions VALUES ('CAMOTION_HOST_EDIT', false);
|
|
133
|
+INSERT INTO luticate_permissions VALUES ('CAMOTION_COMMAND_ADD', false);
|
|
134
|
+INSERT INTO luticate_permissions VALUES ('CAMOTION_COMMAND_DEL', false);
|
|
135
|
+INSERT INTO luticate_permissions VALUES ('CAMOTION_COMMAND_EDIT', false);
|
|
136
|
+INSERT INTO luticate_permissions VALUES ('CAMOTION_SENSOR_ADD', false);
|
|
137
|
+INSERT INTO luticate_permissions VALUES ('CAMOTION_SENSOR_DEL', false);
|
|
138
|
+INSERT INTO luticate_permissions VALUES ('CAMOTION_SENSOR_EDIT', false);
|
|
139
|
+INSERT INTO luticate_permissions VALUES ('CAMOTION_CAMERA_ADD', false);
|
|
140
|
+INSERT INTO luticate_permissions VALUES ('CAMOTION_CAMERA_DEL', false);
|
|
141
|
+INSERT INTO luticate_permissions VALUES ('CAMOTION_CAMERA_EDIT', false);
|
|
142
|
+INSERT INTO luticate_permissions VALUES ('CAMOTION_SENSOR_EXEC', false);
|
|
143
|
+INSERT INTO luticate_permissions VALUES ('CAMOTION_SENSOR_GET', false);
|
|
144
|
+INSERT INTO luticate_permissions VALUES ('CAMOTION_CAMERA_EXEC', false);
|
|
145
|
+INSERT INTO luticate_permissions VALUES ('CAMOTION_CAMERA_GET', false);
|
|
146
|
+INSERT INTO luticate_permissions VALUES ('CAMOTION_COMMAND_EXEC', false);
|
|
147
|
+INSERT INTO luticate_permissions VALUES ('CAMOTION_COMMAND_GET', false);
|
|
148
|
+INSERT INTO luticate_permissions VALUES ('CAMOTION_HOST_GET', false);
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+--
|
|
152
|
+-- Data for Name: luticate_permissions_groups; Type: TABLE DATA; Schema: public; Owner: dev
|
|
153
|
+--
|
|
154
|
+
|
|
155
|
+INSERT INTO luticate_permissions_groups VALUES ('LU_GROUP_ADD', true, 0);
|
|
156
|
+INSERT INTO luticate_permissions_groups VALUES ('LU_GROUP_DEL', true, 0);
|
|
157
|
+INSERT INTO luticate_permissions_groups VALUES ('LU_GROUP_EDIT', true, 0);
|
|
158
|
+INSERT INTO luticate_permissions_groups VALUES ('LU_GROUP_GET', true, 0);
|
|
159
|
+INSERT INTO luticate_permissions_groups VALUES ('LU_GROUP_USER_ADD', true, 0);
|
|
160
|
+INSERT INTO luticate_permissions_groups VALUES ('LU_GROUP_USER_DEL', true, 0);
|
|
161
|
+INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_EFFECTIVE_GET', true, 0);
|
|
162
|
+INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_GET', true, 0);
|
|
163
|
+INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_GROUP_ADD', true, 0);
|
|
164
|
+INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_GROUP_DEL', true, 0);
|
|
165
|
+INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_GROUP_EDIT', true, 0);
|
|
166
|
+INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_GROUP_GET', true, 0);
|
|
167
|
+INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_USER_ADD', true, 0);
|
|
168
|
+INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_USER_DEL', true, 0);
|
|
169
|
+INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_USER_EDIT', true, 0);
|
|
170
|
+INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_USER_GET', true, 0);
|
|
171
|
+INSERT INTO luticate_permissions_groups VALUES ('LU_USER_ADD', true, 0);
|
|
172
|
+INSERT INTO luticate_permissions_groups VALUES ('LU_USER_DEL', true, 0);
|
|
173
|
+INSERT INTO luticate_permissions_groups VALUES ('LU_USER_EDIT', true, 0);
|
|
174
|
+INSERT INTO luticate_permissions_groups VALUES ('LU_USER_EDIT_ME', true, 0);
|
|
175
|
+INSERT INTO luticate_permissions_groups VALUES ('LU_USER_GET', true, 0);
|
|
176
|
+INSERT INTO luticate_permissions_groups VALUES ('LU_USER_LOGIN', true, 0);
|
|
177
|
+INSERT INTO luticate_permissions_groups VALUES ('LU_USER_SET_PASSWORD', true, 0);
|
|
178
|
+INSERT INTO luticate_permissions_groups VALUES ('LU_USER_SET_PASSWORD_ME', true, 0);
|
|
179
|
+INSERT INTO luticate_permissions_groups VALUES ('LU_GROUP_ADD', true, 1);
|
|
180
|
+INSERT INTO luticate_permissions_groups VALUES ('LU_GROUP_DEL', true, 1);
|
|
181
|
+INSERT INTO luticate_permissions_groups VALUES ('LU_GROUP_EDIT', true, 1);
|
|
182
|
+INSERT INTO luticate_permissions_groups VALUES ('LU_GROUP_GET', true, 1);
|
|
183
|
+INSERT INTO luticate_permissions_groups VALUES ('LU_GROUP_USER_ADD', true, 1);
|
|
184
|
+INSERT INTO luticate_permissions_groups VALUES ('LU_GROUP_USER_DEL', true, 1);
|
|
185
|
+INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_EFFECTIVE_GET', true, 1);
|
|
186
|
+INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_GET', true, 1);
|
|
187
|
+INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_GROUP_ADD', true, 1);
|
|
188
|
+INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_GROUP_DEL', true, 1);
|
|
189
|
+INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_GROUP_EDIT', true, 1);
|
|
190
|
+INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_GROUP_GET', true, 1);
|
|
191
|
+INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_USER_ADD', true, 1);
|
|
192
|
+INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_USER_DEL', true, 1);
|
|
193
|
+INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_USER_EDIT', true, 1);
|
|
194
|
+INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_USER_GET', true, 1);
|
|
195
|
+INSERT INTO luticate_permissions_groups VALUES ('LU_USER_ADD', true, 1);
|
|
196
|
+INSERT INTO luticate_permissions_groups VALUES ('LU_USER_DEL', true, 1);
|
|
197
|
+INSERT INTO luticate_permissions_groups VALUES ('LU_USER_EDIT', true, 1);
|
|
198
|
+INSERT INTO luticate_permissions_groups VALUES ('LU_USER_EDIT_ME', true, 1);
|
|
199
|
+INSERT INTO luticate_permissions_groups VALUES ('LU_USER_GET', true, 1);
|
|
200
|
+INSERT INTO luticate_permissions_groups VALUES ('LU_USER_LOGIN', true, 1);
|
|
201
|
+INSERT INTO luticate_permissions_groups VALUES ('LU_USER_SET_PASSWORD', true, 1);
|
|
202
|
+INSERT INTO luticate_permissions_groups VALUES ('LU_USER_SET_PASSWORD_ME', true, 1);
|
|
203
|
+INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_EDIT', true, 0);
|
|
204
|
+INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_DEL', true, 0);
|
|
205
|
+INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_ADD', true, 0);
|
|
206
|
+INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_ADD', false, 1);
|
|
207
|
+INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_EDIT', false, 1);
|
|
208
|
+INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_DEL', false, 1);
|
|
209
|
+INSERT INTO luticate_permissions_groups VALUES ('CAMOTION_CAMERA_ADD', true, 1);
|
|
210
|
+INSERT INTO luticate_permissions_groups VALUES ('CAMOTION_CAMERA_DEL', true, 1);
|
|
211
|
+INSERT INTO luticate_permissions_groups VALUES ('CAMOTION_CAMERA_EDIT', true, 1);
|
|
212
|
+INSERT INTO luticate_permissions_groups VALUES ('CAMOTION_CAMERA_EXEC', true, 1);
|
|
213
|
+INSERT INTO luticate_permissions_groups VALUES ('CAMOTION_CAMERA_GET', true, 1);
|
|
214
|
+INSERT INTO luticate_permissions_groups VALUES ('CAMOTION_COMMAND_ADD', true, 1);
|
|
215
|
+INSERT INTO luticate_permissions_groups VALUES ('CAMOTION_COMMAND_DEL', true, 1);
|
|
216
|
+INSERT INTO luticate_permissions_groups VALUES ('CAMOTION_COMMAND_EDIT', true, 1);
|
|
217
|
+INSERT INTO luticate_permissions_groups VALUES ('CAMOTION_COMMAND_EXEC', true, 1);
|
|
218
|
+INSERT INTO luticate_permissions_groups VALUES ('CAMOTION_COMMAND_GET', true, 1);
|
|
219
|
+INSERT INTO luticate_permissions_groups VALUES ('CAMOTION_HOST_ADD', true, 1);
|
|
220
|
+INSERT INTO luticate_permissions_groups VALUES ('CAMOTION_HOST_DEL', true, 1);
|
|
221
|
+INSERT INTO luticate_permissions_groups VALUES ('CAMOTION_HOST_EDIT', true, 1);
|
|
222
|
+INSERT INTO luticate_permissions_groups VALUES ('CAMOTION_HOST_GET', true, 1);
|
|
223
|
+INSERT INTO luticate_permissions_groups VALUES ('CAMOTION_SENSOR_ADD', true, 1);
|
|
224
|
+INSERT INTO luticate_permissions_groups VALUES ('CAMOTION_SENSOR_DEL', true, 1);
|
|
225
|
+INSERT INTO luticate_permissions_groups VALUES ('CAMOTION_SENSOR_EDIT', true, 1);
|
|
226
|
+INSERT INTO luticate_permissions_groups VALUES ('CAMOTION_SENSOR_EXEC', true, 1);
|
|
227
|
+INSERT INTO luticate_permissions_groups VALUES ('CAMOTION_SENSOR_GET', true, 1);
|
|
228
|
+INSERT INTO luticate_permissions_groups VALUES ('CAMOTION_CAMERA_ADD', true, 0);
|
|
229
|
+INSERT INTO luticate_permissions_groups VALUES ('CAMOTION_CAMERA_DEL', true, 0);
|
|
230
|
+INSERT INTO luticate_permissions_groups VALUES ('CAMOTION_CAMERA_EDIT', true, 0);
|
|
231
|
+INSERT INTO luticate_permissions_groups VALUES ('CAMOTION_CAMERA_EXEC', true, 0);
|
|
232
|
+INSERT INTO luticate_permissions_groups VALUES ('CAMOTION_CAMERA_GET', true, 0);
|
|
233
|
+INSERT INTO luticate_permissions_groups VALUES ('CAMOTION_COMMAND_ADD', true, 0);
|
|
234
|
+INSERT INTO luticate_permissions_groups VALUES ('CAMOTION_COMMAND_DEL', true, 0);
|
|
235
|
+INSERT INTO luticate_permissions_groups VALUES ('CAMOTION_COMMAND_EDIT', true, 0);
|
|
236
|
+INSERT INTO luticate_permissions_groups VALUES ('CAMOTION_COMMAND_EXEC', true, 0);
|
|
237
|
+INSERT INTO luticate_permissions_groups VALUES ('CAMOTION_COMMAND_GET', true, 0);
|
|
238
|
+INSERT INTO luticate_permissions_groups VALUES ('CAMOTION_HOST_ADD', true, 0);
|
|
239
|
+INSERT INTO luticate_permissions_groups VALUES ('CAMOTION_HOST_DEL', true, 0);
|
|
240
|
+INSERT INTO luticate_permissions_groups VALUES ('CAMOTION_HOST_EDIT', true, 0);
|
|
241
|
+INSERT INTO luticate_permissions_groups VALUES ('CAMOTION_HOST_GET', true, 0);
|
|
242
|
+INSERT INTO luticate_permissions_groups VALUES ('CAMOTION_SENSOR_ADD', true, 0);
|
|
243
|
+INSERT INTO luticate_permissions_groups VALUES ('CAMOTION_SENSOR_DEL', true, 0);
|
|
244
|
+INSERT INTO luticate_permissions_groups VALUES ('CAMOTION_SENSOR_EDIT', true, 0);
|
|
245
|
+INSERT INTO luticate_permissions_groups VALUES ('CAMOTION_SENSOR_EXEC', true, 0);
|
|
246
|
+INSERT INTO luticate_permissions_groups VALUES ('CAMOTION_SENSOR_GET', true, 0);
|
|
247
|
+INSERT INTO luticate_permissions_groups VALUES ('CAMOTION_CAMERA_GET', true, 3);
|
|
248
|
+INSERT INTO luticate_permissions_groups VALUES ('CAMOTION_CAMERA_EXEC', true, 3);
|
|
249
|
+INSERT INTO luticate_permissions_groups VALUES ('CAMOTION_SENSOR_GET', true, 4);
|
|
250
|
+INSERT INTO luticate_permissions_groups VALUES ('CAMOTION_SENSOR_EXEC', true, 4);
|
|
251
|
+INSERT INTO luticate_permissions_groups VALUES ('CAMOTION_COMMAND_GET', true, 5);
|
|
252
|
+INSERT INTO luticate_permissions_groups VALUES ('CAMOTION_COMMAND_EXEC', true, 5);
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+--
|
|
256
|
+-- Data for Name: luticate_users; Type: TABLE DATA; Schema: public; Owner: dev
|
|
257
|
+--
|
|
258
|
+
|
|
259
|
+INSERT INTO luticate_users VALUES (0, 'anonymous', 'anonymous@example.com', '', '', NULL, 'anonymous', 'anonymous');
|
|
260
|
+INSERT INTO luticate_users VALUES (1, 'root', 'root@example.com', '$2y$10$m1aN1a1ZEr1vmjFPfWl4Pu/63EhcxVCrC/DF0DFhdGbvORwtJtCmy', 'szHKcDk5v1', NULL, 'root', 'root');
|
|
261
|
+INSERT INTO luticate_users VALUES (4, 'user', 'uesr@example.com', '$2y$10$3aoyf68xWuL4/Rop1lAYDOaBTWeFyvX8H.lYBSZRH9HIwaFxhimDG', 'OqSvWHcjAB', NULL, 'User', 'User');
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+--
|
|
265
|
+-- Data for Name: luticate_permissions_users; Type: TABLE DATA; Schema: public; Owner: dev
|
|
266
|
+--
|
|
267
|
+
|
|
268
|
+INSERT INTO luticate_permissions_users VALUES ('LU_GROUP_ADD', false, 0);
|
|
269
|
+INSERT INTO luticate_permissions_users VALUES ('LU_GROUP_DEL', false, 0);
|
|
270
|
+INSERT INTO luticate_permissions_users VALUES ('LU_GROUP_EDIT', false, 0);
|
|
271
|
+INSERT INTO luticate_permissions_users VALUES ('LU_GROUP_USER_ADD', false, 0);
|
|
272
|
+INSERT INTO luticate_permissions_users VALUES ('LU_GROUP_USER_DEL', false, 0);
|
|
273
|
+INSERT INTO luticate_permissions_users VALUES ('LU_PERM_ADD', false, 0);
|
|
274
|
+INSERT INTO luticate_permissions_users VALUES ('LU_PERM_DEL', false, 0);
|
|
275
|
+INSERT INTO luticate_permissions_users VALUES ('LU_PERM_EDIT', false, 0);
|
|
276
|
+INSERT INTO luticate_permissions_users VALUES ('LU_PERM_EFFECTIVE_GET', false, 0);
|
|
277
|
+INSERT INTO luticate_permissions_users VALUES ('LU_PERM_GET', false, 0);
|
|
278
|
+INSERT INTO luticate_permissions_users VALUES ('LU_PERM_GROUP_ADD', false, 0);
|
|
279
|
+INSERT INTO luticate_permissions_users VALUES ('LU_PERM_GROUP_DEL', false, 0);
|
|
280
|
+INSERT INTO luticate_permissions_users VALUES ('LU_PERM_GROUP_EDIT', false, 0);
|
|
281
|
+INSERT INTO luticate_permissions_users VALUES ('LU_PERM_GROUP_GET', false, 0);
|
|
282
|
+INSERT INTO luticate_permissions_users VALUES ('LU_PERM_USER_ADD', false, 0);
|
|
283
|
+INSERT INTO luticate_permissions_users VALUES ('LU_PERM_USER_DEL', false, 0);
|
|
284
|
+INSERT INTO luticate_permissions_users VALUES ('LU_PERM_USER_EDIT', false, 0);
|
|
285
|
+INSERT INTO luticate_permissions_users VALUES ('LU_PERM_USER_GET', false, 0);
|
|
286
|
+INSERT INTO luticate_permissions_users VALUES ('LU_USER_ADD', false, 0);
|
|
287
|
+INSERT INTO luticate_permissions_users VALUES ('LU_USER_DEL', false, 0);
|
|
288
|
+INSERT INTO luticate_permissions_users VALUES ('LU_USER_EDIT', false, 0);
|
|
289
|
+INSERT INTO luticate_permissions_users VALUES ('LU_USER_EDIT_ME', false, 0);
|
|
290
|
+INSERT INTO luticate_permissions_users VALUES ('LU_USER_GET', false, 0);
|
|
291
|
+INSERT INTO luticate_permissions_users VALUES ('LU_USER_SET_PASSWORD', false, 0);
|
|
292
|
+INSERT INTO luticate_permissions_users VALUES ('LU_USER_SET_PASSWORD_ME', false, 0);
|
|
293
|
+INSERT INTO luticate_permissions_users VALUES ('LU_USER_LOGIN', true, 0);
|
|
294
|
+INSERT INTO luticate_permissions_users VALUES ('LU_GROUP_GET', false, 0);
|
|
295
|
+INSERT INTO luticate_permissions_users VALUES ('CAMOTION_COMMAND_ADD', false, 0);
|
|
296
|
+INSERT INTO luticate_permissions_users VALUES ('CAMOTION_COMMAND_DEL', false, 0);
|
|
297
|
+INSERT INTO luticate_permissions_users VALUES ('CAMOTION_COMMAND_EDIT', false, 0);
|
|
298
|
+INSERT INTO luticate_permissions_users VALUES ('CAMOTION_COMMAND_EXEC', false, 0);
|
|
299
|
+INSERT INTO luticate_permissions_users VALUES ('CAMOTION_COMMAND_GET', false, 0);
|
|
300
|
+INSERT INTO luticate_permissions_users VALUES ('CAMOTION_SENSOR_ADD', false, 0);
|
|
301
|
+INSERT INTO luticate_permissions_users VALUES ('CAMOTION_SENSOR_DEL', false, 0);
|
|
302
|
+INSERT INTO luticate_permissions_users VALUES ('CAMOTION_SENSOR_EDIT', false, 0);
|
|
303
|
+INSERT INTO luticate_permissions_users VALUES ('CAMOTION_SENSOR_EXEC', false, 0);
|
|
304
|
+INSERT INTO luticate_permissions_users VALUES ('CAMOTION_SENSOR_GET', false, 0);
|
|
305
|
+INSERT INTO luticate_permissions_users VALUES ('CAMOTION_HOST_ADD', false, 0);
|
|
306
|
+INSERT INTO luticate_permissions_users VALUES ('CAMOTION_HOST_EDIT', false, 0);
|
|
307
|
+INSERT INTO luticate_permissions_users VALUES ('CAMOTION_HOST_DEL', false, 0);
|
|
308
|
+INSERT INTO luticate_permissions_users VALUES ('CAMOTION_HOST_GET', false, 0);
|
|
309
|
+INSERT INTO luticate_permissions_users VALUES ('CAMOTION_CAMERA_GET', false, 0);
|
|
310
|
+INSERT INTO luticate_permissions_users VALUES ('CAMOTION_CAMERA_EDIT', false, 0);
|
|
311
|
+INSERT INTO luticate_permissions_users VALUES ('CAMOTION_CAMERA_ADD', false, 0);
|
|
312
|
+INSERT INTO luticate_permissions_users VALUES ('CAMOTION_CAMERA_DEL', false, 0);
|
|
313
|
+INSERT INTO luticate_permissions_users VALUES ('CAMOTION_CAMERA_EXEC', false, 0);
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+--
|
|
317
|
+-- Data for Name: luticate_users_groups; Type: TABLE DATA; Schema: public; Owner: dev
|
|
318
|
+--
|
|
319
|
+
|
|
320
|
+INSERT INTO luticate_users_groups VALUES (1, 0);
|
|
321
|
+INSERT INTO luticate_users_groups VALUES (4, 3);
|
|
322
|
+INSERT INTO luticate_users_groups VALUES (4, 5);
|
|
323
|
+INSERT INTO luticate_users_groups VALUES (4, 4);
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+--
|
|
327
|
+-- Name: luticate_users_id_seq; Type: SEQUENCE SET; Schema: public; Owner: dev
|
|
328
|
+--
|
|
329
|
+
|
|
330
|
+SELECT pg_catalog.setval('luticate_users_id_seq', 4, true);
|
|
331
|
+
|
|
332
|
+
|
|
333
|
+--
|
|
334
|
+-- Data for Name: sensor_types; Type: TABLE DATA; Schema: public; Owner: dev
|
|
335
|
+--
|
|
336
|
+
|
|
337
|
+INSERT INTO sensor_types VALUES (1, 'Dummy Sensor', 'App\Http\Business\Sensors\DummySensor', '{"Minimum": 0, "Maximum": 42}');
|
|
338
|
+INSERT INTO sensor_types VALUES (2, 'PiFace Digital', 'App\Http\Business\Sensors\PiFaceSensor', '{"Device": 0, "Pin":0, "True": "Openned", "False": "Closed"}');
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+--
|
|
342
|
+-- Name: sensor_types_id_seq; Type: SEQUENCE SET; Schema: public; Owner: dev
|
|
343
|
+--
|
|
344
|
+
|
|
345
|
+SELECT pg_catalog.setval('sensor_types_id_seq', 3, true);
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+--
|
|
349
|
+-- Data for Name: sensors; Type: TABLE DATA; Schema: public; Owner: dev
|
|
350
|
+--
|
|
351
|
+
|
|
352
|
+INSERT INTO sensors VALUES (6, 'Dummy sensor', 'Get a random value', 9, 1, '{"Minimum":0,"Maximum":42}');
|
|
353
|
+INSERT INTO sensors VALUES (7, 'Dummy sensor 2', 'Get a negative random value', 9, 1, '{"Minimum":-42,"Maximum":0}');
|
|
354
|
+
|
|
355
|
+
|
|
356
|
+--
|
|
357
|
+-- Name: sensors_id_seq; Type: SEQUENCE SET; Schema: public; Owner: dev
|
|
358
|
+--
|
|
359
|
+
|
|
360
|
+SELECT pg_catalog.setval('sensors_id_seq', 7, true);
|
|
361
|
+
|
|
362
|
+
|
|
363
|
+--
|
|
364
|
+-- PostgreSQL database dump complete
|
|
365
|
+--
|