create table tracks (id serial primary key,
		artist varchar not null default '',
		title varchar not null default '',
		filename varchar not null default '',
		artwork bytea not null default '',
		length double precision not null default 0,
		x_in varchar(10) not null default '',
		x_out varchar(10) not null default '',
		lyrics text not null default '',
		story text not null default '',
		status smallint not null default 0,
		submitted timestamptz not null default now(),
		submitter varchar not null default '',
		submitteremail varchar not null default '',
		comments varchar not null default '',
		enqueued int not null default 0,
		played int not null default 0
);


create table users (id serial primary key,
		username varchar not null unique,
		email varchar not null unique,
		password varchar not null default '',
		user_level int not null default 1 -- banned=0, user=1, admin=2 --
);


create table tracks (id serial primary key,
		artist varchar not null default '',
		title varchar not null default '',
		filename varchar not null default '',
		artwork bytea not null default '',
		length double precision not null default 0,
		x_in varchar(10) not null default '',
		x_out varchar(10) not null default '',
		lyrics text not null default '',
		story text not null default '',
		status smallint not null default 0,
		submitted timestamptz not null default now(),
		submitter varchar not null default '',
		submitteremail varchar not null default '',
		comments varchar not null default '',
		enqueued int not null default 0,
		played int not null default 0
);


create table users (id serial primary key,
		username varchar not null unique,
		email varchar not null unique,
		password varchar not null default '',
		user_level int not null default 1, -- banned=0, user=1, admin=2 --
		status int not null default 0
);


Add status column to user table.
Add status column to user table.
