diff --git a/install/database_tables.sql b/install/database_tables.sql deleted file mode 100755 index bbf50021..00000000 --- a/install/database_tables.sql +++ /dev/null @@ -1,88 +0,0 @@ -CREATE TABLE IF NOT EXISTS `categories` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `name` tinytext COLLATE utf8_unicode_ci NOT NULL, - `description` text COLLATE utf8_unicode_ci NOT NULL, - `ideas` int(11) NOT NULL, - PRIMARY KEY (`id`), - KEY `id` (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; - -CREATE TABLE IF NOT EXISTS `comments` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `content` text COLLATE utf8_unicode_ci NOT NULL, - `ideaid` int(11) NOT NULL, - `userid` int(11) NOT NULL, - `date` tinytext COLLATE utf8_unicode_ci NOT NULL, - PRIMARY KEY (`id`), - KEY `id` (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; - -CREATE TABLE IF NOT EXISTS `flags` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `toflagid` int(11) NOT NULL, - `userid` int(11) NOT NULL, - `date` tinytext COLLATE utf8_unicode_ci NOT NULL, - PRIMARY KEY (`id`), - KEY `id` (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; - -CREATE TABLE IF NOT EXISTS `ideas` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `title` tinytext COLLATE utf8_unicode_ci NOT NULL, - `content` text COLLATE utf8_unicode_ci NOT NULL, - `authorid` int(11) NOT NULL, - `date` tinytext COLLATE utf8_unicode_ci NOT NULL, - `votes` int(11) NOT NULL, - `comments` int(11) NOT NULL, - `status` tinytext COLLATE utf8_unicode_ci NOT NULL, - `categoryid` int(11) NOT NULL, - PRIMARY KEY (`id`), - KEY `id` (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; - -CREATE TABLE IF NOT EXISTS `logs` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `content` tinytext COLLATE utf8_unicode_ci NOT NULL, - `date` tinytext COLLATE utf8_unicode_ci NOT NULL, - `type` tinytext COLLATE utf8_unicode_ci NOT NULL, - `toid` int(11) NOT NULL, - PRIMARY KEY (`id`), - KEY `id` (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; - -CREATE TABLE IF NOT EXISTS `settings` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `name` tinytext COLLATE utf8_unicode_ci NOT NULL, - `value` tinytext COLLATE utf8_unicode_ci NOT NULL, - PRIMARY KEY (`id`), - KEY `id` (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; - -CREATE TABLE IF NOT EXISTS `users` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `name` tinytext COLLATE utf8_unicode_ci NOT NULL, - `email` tinytext COLLATE utf8_unicode_ci NOT NULL, - `pass` tinytext COLLATE utf8_unicode_ci NOT NULL, - `votes` int(11) NOT NULL, - `isadmin` tinyint(1) NOT NULL, - `banned` int(11) NOT NULL, - PRIMARY KEY (`id`), - KEY `id` (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; - -CREATE TABLE IF NOT EXISTS `votes` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `ideaid` int(11) NOT NULL, - `userid` int(11) NOT NULL, - `number` int(11) NOT NULL, - PRIMARY KEY (`id`), - KEY `id` (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; - -CREATE TABLE IF NOT EXISTS `_sessions` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `userid` int(11) NOT NULL, - `token` tinytext COLLATE utf8_unicode_ci NOT NULL, - PRIMARY KEY (`id`), - KEY `id` (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; diff --git a/install/index.php b/install/index.php deleted file mode 100755 index 846bae96..00000000 --- a/install/index.php +++ /dev/null @@ -1,132 +0,0 @@ - - -
-
- <?php
- $active_group = 'default';
- $active_record = TRUE;
-
- $db['default']['hostname'] = 'YOUR_MYSQL_SERVER';
- $db['default']['username'] = 'YOUR_USERNAME';
- $db['default']['password'] = 'YOUR_PASSWORD';
- $db['default']['database'] = 'YOUT_DATABASE_NAME';
- $db['default']['dbdriver'] = 'mysql';
- $db['default']['dbprefix'] = '';
- $db['default']['pconnect'] = TRUE;
- $db['default']['db_debug'] = TRUE;
- $db['default']['cache_on'] = FALSE;
- $db['default']['cachedir'] = '';
- $db['default']['char_set'] = 'utf8';
- $db['default']['dbcollat'] = 'utf8_general_ci';
- $db['default']['swap_pre'] = '';
- $db['default']['autoinit'] = TRUE;
- $db['default']['stricton'] = FALSE;
-
-