Fix up creating tables
This commit is contained in:
committed by
Jeremy Newman
parent
fd86916abc
commit
54616f8329
@@ -1,3 +1,5 @@
|
|||||||
|
#! /bin/sh
|
||||||
|
|
||||||
echo Creating appdb tables
|
echo Creating appdb tables
|
||||||
mysql -u root < appdb_tables.sql
|
mysql -u root < appdb_tables.sql
|
||||||
|
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ create table user_list (
|
|||||||
unique(username(12))
|
unique(username(12))
|
||||||
);
|
);
|
||||||
|
|
||||||
insert into user_list values (NOW(), 0, 'int', password('testing'), 'Charles Loep',
|
insert into user_list values (NOW(), 0, 'admin', password('testing'), 'Administrator',
|
||||||
'charles@codeweavers.com', NOW(), 0, 0xffffffff);
|
'Admin@localhost', NOW(), 0, 0xffffffff);
|
||||||
update user_list set userid = 1000 where username = 'int';
|
update user_list set userid = 1000 where username = 'admin';
|
||||||
|
|
||||||
|
|||||||
@@ -8,3 +8,4 @@ CREATE TABLE user_privs (
|
|||||||
primary key(userid)
|
primary key(userid)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
insert into user_privs values (1000, 'admin');
|
||||||
|
|||||||
Reference in New Issue
Block a user