diff options
author | Kevin Chabowski <kevin@kch42.de> | 2011-10-12 21:57:41 +0200 |
---|---|---|
committer | Kevin Chabowski <kevin@kch42.de> | 2011-10-12 21:57:41 +0200 |
commit | 74cf8718cd1a09ac159e933c898ede1a9d474679 (patch) | |
tree | efa5af61364bace8e7a5e7b0745728c5e51328cd /ratatoeskr/setup/create_tables.php | |
parent | 7d15e81a023946d8265f1bf684f4b9b52b7bfa10 (diff) | |
download | ratatoeskr-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/create_tables.php')
-rw-r--r-- | ratatoeskr/setup/create_tables.php | 2 |
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, |