From 518510c123bf30a2243b42f48367848c63d10bd9 Mon Sep 17 00:00:00 2001 From: mattraykowski Date: Tue, 12 Feb 2013 10:09:48 -0600 Subject: [PATCH] fixes #18 - adds the create script for the webig and app_test databases. --- code/web/app/app_test/create.sql | 27 +++++++++++++++++++++ code/web/create_webig.sql | 40 ++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) create mode 100644 code/web/app/app_test/create.sql create mode 100644 code/web/create_webig.sql diff --git a/code/web/app/app_test/create.sql b/code/web/app/app_test/create.sql new file mode 100644 index 000000000..ca90eade0 --- /dev/null +++ b/code/web/app/app_test/create.sql @@ -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 */; + diff --git a/code/web/create_webig.sql b/code/web/create_webig.sql new file mode 100644 index 000000000..fd49dcf9b --- /dev/null +++ b/code/web/create_webig.sql @@ -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 */; +