yolanda/trunk/README_DATABASE
josch 7574b2b151 fixed users table
git-svn-id: http://yolanda.mister-muffin.de/svn@35 7eef14d0-6ed0-489d-bf55-20463b2d70db
2007-10-11 19:30:20 +00:00

13 lines
614 B
Text

to get a database execute the following mysql statements:
create database gnutube;
use gnutube;
create table tagcloud (text varchar(255) not null, count int not null);
fill with some data:
eg.: insert into tagcloud values ('web tv', 68);
create table users (id int auto_increment not null, username varchar(255) not null, password char(41) not null, sid char(32) not null, primary key (id));
create table videos (id int auto_increment not null, title varchar(255) not null, caption text, userid varchar(255) not null, hash char(64) not null, status int not null, primary key (id), fulltext (title, caption));