added default user and referer table

git-svn-id: http://yolanda.mister-muffin.de/svn@110 7eef14d0-6ed0-489d-bf55-20463b2d70db
This commit is contained in:
josch 2007-10-21 19:15:18 +00:00
parent 19dfc0d3f8
commit 89402973b2

View file

@ -41,6 +41,19 @@ $dbh->do(qq{create table
)
}) or die $dbh->errstr;
$dbh->do(qq{insert into
users
(
username,
password
)
values
(
'test',
password( 'test' )
)
}) or die $dbh->errstr;
$dbh->do(qq{create table
uploaded
(
@ -99,6 +112,15 @@ $dbh->do(qq{create table
)
}) or die $dbh->errstr;
$dbh->do(qq{create table
referer
(
videoid int not null,
referer varchar(255) not null,
count int default 1
)
}) or die $dbh->errstr;
$dbh->disconnect() or die $dbh->errstr;
print $session->header();