Permalink
Browse files

Remove test tables from install.php, Add -Indexes to .htaccess

  • Loading branch information...
brendo committed Aug 3, 2010
1 parent e711397 commit 03c239fea6a8b73b4ca9608153917c888a61c933
Showing with 2 additions and 216 deletions.
  1. +1 −215 install/assets/install.sql
  2. +1 −1 install/assets/template.htaccess.txt
View
@@ -92,218 +92,4 @@ CREATE TABLE `tbl_users` (
`language` varchar(15) COLLATE utf8_unicode_ci DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `username` (`username`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-
-
---
--- Table structure for table `tbl_data_articles_body`
---
-
-CREATE TABLE `tbl_data_articles_body` (
- `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
- `entry_id` int(11) unsigned NOT NULL,
- `handle` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
- `value` text COLLATE utf8_unicode_ci,
- `value_formatted` text COLLATE utf8_unicode_ci,
- `word_count` int(11) unsigned DEFAULT NULL,
- PRIMARY KEY (`id`),
- KEY `entry_id` (`entry_id`),
- FULLTEXT KEY `value` (`value`),
- FULLTEXT KEY `value_formatted` (`value_formatted`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-
--- --------------------------------------------------------
-
---
--- Table structure for table `tbl_data_articles_category`
---
-
-CREATE TABLE `tbl_data_articles_category` (
- `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
- `entry_id` int(11) unsigned NOT NULL,
- `handle` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
- `value` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
- PRIMARY KEY (`id`),
- KEY `entry_id` (`entry_id`),
- KEY `handle` (`handle`),
- KEY `value` (`value`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-
--- --------------------------------------------------------
-
---
--- Table structure for table `tbl_data_articles_date`
---
-
-CREATE TABLE `tbl_data_articles_date` (
- `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
- `entry_id` int(11) unsigned NOT NULL,
- `value` varchar(80) COLLATE utf8_unicode_ci DEFAULT NULL,
- `local` int(11) DEFAULT NULL,
- `gmt` int(11) DEFAULT NULL,
- PRIMARY KEY (`id`),
- KEY `entry_id` (`entry_id`),
- KEY `value` (`value`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-
--- --------------------------------------------------------
-
---
--- Table structure for table `tbl_data_articles_published`
---
-
-CREATE TABLE `tbl_data_articles_published` (
- `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
- `entry_id` int(11) unsigned NOT NULL,
- `value` enum('yes','no') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'yes',
- PRIMARY KEY (`id`),
- KEY `entry_id` (`entry_id`),
- KEY `value` (`value`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-
--- --------------------------------------------------------
-
---
--- Table structure for table `tbl_data_articles_title`
---
-
-CREATE TABLE `tbl_data_articles_title` (
- `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
- `entry_id` int(11) unsigned NOT NULL,
- `handle` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
- `value` text COLLATE utf8_unicode_ci,
- `value_formatted` text COLLATE utf8_unicode_ci,
- `word_count` int(11) unsigned DEFAULT NULL,
- PRIMARY KEY (`id`),
- KEY `entry_id` (`entry_id`),
- FULLTEXT KEY `value` (`value`),
- FULLTEXT KEY `value_formatted` (`value_formatted`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-
--- --------------------------------------------------------
-
---
--- Table structure for table `tbl_data_categories_name`
---
-
-CREATE TABLE `tbl_data_categories_name` (
- `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
- `entry_id` int(11) unsigned NOT NULL,
- `handle` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
- `value` text COLLATE utf8_unicode_ci,
- `value_formatted` text COLLATE utf8_unicode_ci,
- `word_count` int(11) unsigned DEFAULT NULL,
- PRIMARY KEY (`id`),
- KEY `entry_id` (`entry_id`),
- FULLTEXT KEY `value` (`value`),
- FULLTEXT KEY `value_formatted` (`value_formatted`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-
--- --------------------------------------------------------
-
---
--- Table structure for table `tbl_data_comments_article`
---
-
-CREATE TABLE `tbl_data_comments_article` (
- `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
- `entry_id` int(11) unsigned NOT NULL,
- `relation_id` int(11) unsigned DEFAULT NULL,
- PRIMARY KEY (`id`),
- KEY `entry_id` (`entry_id`),
- KEY `relation_id` (`relation_id`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-
--- --------------------------------------------------------
-
---
--- Table structure for table `tbl_data_comments_comment`
---
-
-CREATE TABLE `tbl_data_comments_comment` (
- `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
- `entry_id` int(11) unsigned NOT NULL,
- `handle` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
- `value` text COLLATE utf8_unicode_ci,
- `value_formatted` text COLLATE utf8_unicode_ci,
- `word_count` int(11) unsigned DEFAULT NULL,
- PRIMARY KEY (`id`),
- KEY `entry_id` (`entry_id`),
- FULLTEXT KEY `value` (`value`),
- FULLTEXT KEY `value_formatted` (`value_formatted`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-
--- --------------------------------------------------------
-
---
--- Table structure for table `tbl_data_comments_date`
---
-
-CREATE TABLE `tbl_data_comments_date` (
- `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
- `entry_id` int(11) unsigned NOT NULL,
- `value` varchar(80) COLLATE utf8_unicode_ci DEFAULT NULL,
- `local` int(11) DEFAULT NULL,
- `gmt` int(11) DEFAULT NULL,
- PRIMARY KEY (`id`),
- KEY `entry_id` (`entry_id`),
- KEY `value` (`value`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-
--- --------------------------------------------------------
-
---
--- Table structure for table `tbl_data_images_article`
---
-
-CREATE TABLE `tbl_data_images_article` (
- `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
- `entry_id` int(11) unsigned NOT NULL,
- `relation_id` int(11) unsigned DEFAULT NULL,
- PRIMARY KEY (`id`),
- KEY `entry_id` (`entry_id`),
- KEY `relation_id` (`relation_id`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-
--- --------------------------------------------------------
-
---
--- Table structure for table `tbl_data_images_description`
---
-
-CREATE TABLE `tbl_data_images_description` (
- `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
- `entry_id` int(11) unsigned NOT NULL,
- `handle` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
- `value` text COLLATE utf8_unicode_ci,
- `value_formatted` text COLLATE utf8_unicode_ci,
- `word_count` int(11) unsigned DEFAULT NULL,
- PRIMARY KEY (`id`),
- KEY `entry_id` (`entry_id`),
- FULLTEXT KEY `value` (`value`),
- FULLTEXT KEY `value_formatted` (`value_formatted`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-
--- --------------------------------------------------------
-
---
--- Table structure for table `tbl_data_images_image`
---
-
-CREATE TABLE `tbl_data_images_image` (
- `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
- `entry_id` int(11) unsigned NOT NULL,
- `name` text COLLATE utf8_unicode_ci,
- `path` text COLLATE utf8_unicode_ci,
- `file` text COLLATE utf8_unicode_ci,
- `size` int(11) unsigned DEFAULT NULL,
- `type` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
- `meta` text COLLATE utf8_unicode_ci,
- PRIMARY KEY (`id`),
- UNIQUE KEY `entry_id` (`entry_id`),
- FULLTEXT KEY `name` (`name`),
- FULLTEXT KEY `path` (`path`),
- FULLTEXT KEY `file` (`file`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-
--- --------------------------------------------------------
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
@@ -1,5 +1,5 @@
### Symphony 3.0.x ###
-Options +FollowSymlinks
+Options +FollowSymlinks -Indexes
<IfModule mod_rewrite.c>

0 comments on commit 03c239f

Please sign in to comment.