Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update script for 1.6.8 to 2.0.0 added
git-svn-id: http://svn.typosphere.org/typo/trunk@199 820eb932-12ee-0310-9ca8-eeb645f39767
- Loading branch information
seth
committed
Apr 23, 2005
1 parent
29c602b
commit 306c3c6
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
CREATE TABLE IF NOT EXISTS `blacklist_patterns` ( | ||
`id` int(11) NOT NULL auto_increment, | ||
`type` varchar(15) default NULL, | ||
`pattern` varchar(255) default NULL, | ||
PRIMARY KEY (`id`) | ||
); | ||
|
||
CREATE TABLE IF NOT EXISTS `settings` ( | ||
`id` int(11) NOT NULL auto_increment, | ||
`name` varchar(40) default NULL, | ||
`value` varchar(40) default NULL, | ||
PRIMARY KEY (`id`) | ||
); | ||
|
||
CREATE TABLE IF NOT EXISTS `sessions` ( | ||
`id` int(11) unsigned NOT NULL auto_increment, | ||
`sessid` varchar(32) default NULL, | ||
`data` text, | ||
`updated_at` datetime default NULL, | ||
PRIMARY KEY (`id`), | ||
UNIQUE KEY `sessid` (`sessid`) | ||
); | ||
|
||
CREATE TABLE IF NOT EXISTS `users` ( | ||
`id` int(11) NOT NULL auto_increment, | ||
`login` varchar(80) default NULL, | ||
`password` varchar(40) default NULL, | ||
PRIMARY KEY (`id`), | ||
UNIQUE KEY `login` (`login`) | ||
); | ||
|
||
ALTER TABLE `comments` ADD `ip` varchar(15) DEFAULT NULL; | ||
ALTER TABLE `articles` ADD `text_filter` varchar(20) DEFAULT NULL; |