pcd2013 MySQL developing database prepare command list

@MySQL.User.root

create database pcd2013dev;
GRANT ALL PRIVILEGES ON pcd2013dev.* TO pcd2013devUser@localhost IDENTIFIED BY 'MoonStone';

@MySQL.User.pcd2013devUser

create table stageObjectTable (
	id int auto_increment,
	locationX double,
	locationY double,
	velocityX double,
	velocityY double,
	stageName char(64),
	className char(64),
	objectAttribute text character set utf8,
	constructorArgs text character set utf8,
	ownerUserID int,
	modifiedTimestamp bigint,
	addedTimestamp bigint,
	index(id)
);
create table userInventoryTable (
	id int auto_increment,
	itemName char(255),
	ownerUserID int,
	index(id)
);
create table authUserTable (
	id int auto_increment,
	name text character set utf8,
	lastResponseTimestamp bigint,
	userStageName char(64),
	index(id)
);

drop table stageObjectTable;
drop table userInventoryTable;
drop table authUserTable;
