Fix up creating tables

This commit is contained in:
Tony Lambregts
2004-04-19 20:49:52 +00:00
committed by Jeremy Newman
parent fd86916abc
commit 54616f8329
3 changed files with 6 additions and 3 deletions

View File

@@ -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

View File

@@ -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';

View File

@@ -8,3 +8,4 @@ CREATE TABLE user_privs (
primary key(userid) primary key(userid)
); );
insert into user_privs values (1000, 'admin');