aboutsummaryrefslogtreecommitdiff
path: root/ratatoeskr/setup
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2011-10-12 21:57:41 +0200
committerKevin Chabowski <kevin@kch42.de>2011-10-12 21:57:41 +0200
commit74cf8718cd1a09ac159e933c898ede1a9d474679 (patch)
treeefa5af61364bace8e7a5e7b0745728c5e51328cd /ratatoeskr/setup
parent7d15e81a023946d8265f1bf684f4b9b52b7bfa10 (diff)
downloadratatoeskr-cms-74cf8718cd1a09ac159e933c898ede1a9d474679.tar.gz
ratatoeskr-cms-74cf8718cd1a09ac159e933c898ede1a9d474679.tar.bz2
ratatoeskr-cms-74cf8718cd1a09ac159e933c898ede1a9d474679.zip
Cleaned up the urltitle/-name mess. Improved models.php.
* Replaced all urlitle stuff with urlname stuff. Before this, both names were used for the same thing which was f*cking confusing! * Added possible throwing of AlreadyExistError for already existing urlname and for all save() methods where uniqueness could be broken. * Also added kses-powered HTML filtering for comments.
Diffstat (limited to 'ratatoeskr/setup')
-rw-r--r--ratatoeskr/setup/create_tables.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/ratatoeskr/setup/create_tables.php b/ratatoeskr/setup/create_tables.php
index b17d6f0..e9cfdaa 100644
--- a/ratatoeskr/setup/create_tables.php
+++ b/ratatoeskr/setup/create_tables.php
@@ -6,7 +6,7 @@ SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
CREATE TABLE `PREFIX_articles` (
`id` int(11) NOT NULL AUTO_INCREMENT,
- `urltitle` text COLLATE utf8_unicode_ci NOT NULL,
+ `urlname` text COLLATE utf8_unicode_ci NOT NULL,
`title` int(11) NOT NULL,
`text` int(11) NOT NULL,
`excerpt` int(11) NOT NULL,