mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-22 23:26:15 +00:00
fixes #18 - adds the create script for the webig and app_test databases.
This commit is contained in:
parent
f370f767ef
commit
c87d8a7fe0
2 changed files with 67 additions and 0 deletions
27
code/web/app/app_test/create.sql
Normal file
27
code/web/app/app_test/create.sql
Normal file
|
@ -0,0 +1,27 @@
|
|||
-- --------------------------------------------------------
|
||||
-- Host: 178.33.225.92
|
||||
-- Server version: 5.5.28-0ubuntu0.12.04.2-log - (Ubuntu)
|
||||
-- Server OS: debian-linux-gnu
|
||||
-- HeidiSQL version: 7.0.0.4053
|
||||
-- Date/time: 2013-02-12 16:31:42
|
||||
-- --------------------------------------------------------
|
||||
|
||||
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
||||
/*!40101 SET NAMES utf8 */;
|
||||
/*!40014 SET FOREIGN_KEY_CHECKS=0 */;
|
||||
|
||||
-- Dumping database structure for app_test
|
||||
CREATE DATABASE IF NOT EXISTS `app_test` /*!40100 DEFAULT CHARACTER SET utf8 */;
|
||||
USE `app_test`;
|
||||
|
||||
|
||||
-- Dumping structure for table app_test.test
|
||||
CREATE TABLE IF NOT EXISTS `test` (
|
||||
`id` INT(32) NOT NULL,
|
||||
`num_access` INT(10) NOT NULL
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
||||
|
||||
-- Data exporting was unselected.
|
||||
/*!40014 SET FOREIGN_KEY_CHECKS=1 */;
|
||||
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
||||
|
40
code/web/create_webig.sql
Normal file
40
code/web/create_webig.sql
Normal file
|
@ -0,0 +1,40 @@
|
|||
-- --------------------------------------------------------
|
||||
-- Host: 178.33.225.92
|
||||
-- Server version: 5.5.28-0ubuntu0.12.04.2-log - (Ubuntu)
|
||||
-- Server OS: debian-linux-gnu
|
||||
-- HeidiSQL version: 7.0.0.4053
|
||||
-- Date/time: 2013-02-12 16:14:54
|
||||
-- --------------------------------------------------------
|
||||
|
||||
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
||||
/*!40101 SET NAMES utf8 */;
|
||||
/*!40014 SET FOREIGN_KEY_CHECKS=0 */;
|
||||
|
||||
-- Dumping database structure for webig
|
||||
CREATE DATABASE IF NOT EXISTS `webig` /*!40100 DEFAULT CHARACTER SET utf8 COLLATE utf8_bin */;
|
||||
USE `webig`;
|
||||
|
||||
|
||||
-- Dumping structure for table webig.players
|
||||
CREATE TABLE IF NOT EXISTS `players` (
|
||||
`id` INT(32) NOT NULL AUTO_INCREMENT,
|
||||
`cid` INT(32) NOT NULL DEFAULT '0',
|
||||
`name` VARCHAR(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '0',
|
||||
`gender` INT(1) NOT NULL DEFAULT '0',
|
||||
`creation_date` TIMESTAMP NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||
`deleted` tinyint(1) NOT NULL DEFAULT '0',
|
||||
`last_login` TIMESTAMP NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||
`dev_shard` tinyint(4) NOT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
|
||||
|
||||
-- Dumping structure for table webig.accounts
|
||||
CREATE TABLE IF NOT EXISTS `accounts` (
|
||||
`uid` INT(10) DEFAULT NULL,
|
||||
`web_privs` VARCHAR(255) COLLATE utf8_bin DEFAULT NULL
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
|
||||
|
||||
-- Data exporting was unselected.
|
||||
/*!40014 SET FOREIGN_KEY_CHECKS=1 */;
|
||||
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
||||
|
Loading…
Reference in a new issue