# $Id: create_tables.mysql,v 1.4 2001/05/04 11:47:41 milosch Exp $

CREATE TABLE phpgw_dj_que (
	que_id            int not null auto_increment,
	que_song          varchar(255),
	primary key (que_id)
);

CREATE TABLE phpgw_dj_directories (
	dir_id            int not null auto_increment,
	dir_name          varchar(255),
	primary key (dir_id)
);

CREATE TABLE phpgw_dj_songlist (
	song_id           int(11) NOT NULL auto_increment,
	song_name         varchar(255),
	song_title        varchar(255),
	song_artist       varchar(255),
	song_album        varchar(255),
	song_year         char(4),
	song_comment      varchar(255),
	song_genre        varchar(64),
	song_size         varchar(32),
	song_length       int,
	song_bitsize      int,
	song_samplerate   int,
	song_frames       int,
	song_emphasis		varchar(255),
	song_cmode        varchar(255),
	song_version      varchar(255),
	song_layer        varchar(10),
	song_crc          varchar(255),
	song_copyright    char(4),
	song_original     varchar(255),
	song_status       char(2),
  	song_cycle_status char(1),
	PRIMARY KEY (song_id)
);

CREATE TABLE phpgw_dj_shows (
	show_id           int(11) NOT NULL auto_increment,
	show_name         varchar(255),
	show_data         text,
	show_owner        int,
	PRIMARY KEY (show_id)
);
