2013-06-19 21:53:53 +00:00
|
|
|
CREATE DATABASE IF NOT EXISTS `ryzom_ams`;
|
|
|
|
USE `ryzom_ams`;
|
|
|
|
DROP TABLE IF EXISTS ams_user;
|
|
|
|
|
|
|
|
CREATE TABLE IF NOT EXISTS `ams_user` (
|
|
|
|
`UId` int(10) NOT NULL AUTO_INCREMENT,
|
|
|
|
`Login` varchar(64) NOT NULL DEFAULT '',
|
2014-09-16 18:34:26 +00:00
|
|
|
`Password` varchar(106) DEFAULT NULL,
|
2013-06-19 21:53:53 +00:00
|
|
|
`Email` varchar(255) NOT NULL DEFAULT '',
|
2013-06-25 19:33:49 +00:00
|
|
|
`Permission` int(3) NOT NULL DEFAULT 1,
|
2013-06-19 21:53:53 +00:00
|
|
|
PRIMARY KEY (`UId`)
|
|
|
|
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='contains all users information for ryzom_ams';
|
|
|
|
|
2013-06-26 01:26:25 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
CREATE DATABASE IF NOT EXISTS `ryzom_ams_lib`;
|
|
|
|
USE `ryzom_ams_lib`;
|
|
|
|
DROP TABLE IF EXISTS ams_querycache;
|
|
|
|
|
2013-06-19 21:53:53 +00:00
|
|
|
CREATE TABLE ams_querycache (
|
|
|
|
`SID` INT NOT NULL AUTO_INCREMENT PRIMARY KEY ,
|
|
|
|
`type` VARCHAR( 64 ) NOT NULL ,
|
|
|
|
`query` VARCHAR( 512 ) NOT NULL
|
2014-09-16 18:34:26 +00:00
|
|
|
);
|