-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathprepare_test_db.sql
44 lines (40 loc) · 1.25 KB
/
prepare_test_db.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
UPDATE users SET
session_id='',
password='',
api_key='aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
email='',
openid='',
vorname='',
nachname='',
strasse='',
plz='',
ort='',
telefon='',
jabber='',
notification_method='email',
activated=0,
website='',
icq='',
about='',
permission=8;
INSERT INTO `users` (`id`, `session_id`, `nickname`, `password`, `openid`,
`api_key`, `vorname`, `nachname`, `strasse`, `plz`, `ort`,
`telefon`, `email`, `jabber`, `icq`, `website`, `about`,
`allow_node_delegation`, `notification_method`,
`permission`, `create_date`, `update_date`, `activated`)
VALUES
(NULL, '', 'admin', '$2a$08$MrCZlG8G5uJlqqkB6u2LMOxz3oMM7U.cow7DaDiFR354AHuDjt0V6', '',
'ducfuiwenfweur3irt38rti23erzm23ie', 'Toller', 'Administrator', 'Teststraße 23', '345345', 'Musterort',
'', '[email protected]', '', '', '', '', 0, 'email',
'120', '2013-10-15 00:00:00', '2013-10-15 00:00:00', '0');
UPDATE config SET
value=''
WHERE name='twitter_token' OR
name='google_maps_api_key' OR
name='jabber_server' OR
name='jabber_username' OR
name='jabber_password' OR
name='twitter_username' OR
name='twitter_token';
TRUNCATE TABLE user_remember_mes;
UPDATE routers SET router_auto_assign_hash='';