-
Notifications
You must be signed in to change notification settings - Fork 146
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move editorial comment sql so the script can be executed
- Loading branch information
Showing
2 changed files
with
13 additions
and
13 deletions.
There are no files selected for viewing
13 changes: 0 additions & 13 deletions
13
newscoop/install/Resources/sql/upgrade/4.4.x/2015.02.12/tables.sql
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 |
---|---|---|
@@ -1,14 +1 @@ | ||
CREATE TABLE IF NOT EXISTS `editorial_comments` ( | ||
`id` int(11) NOT NULL AUTO_INCREMENT, | ||
`fk_article_number` int(11) NOT NULL, | ||
`fk_language_id` int(11) NOT NULL, | ||
`comment` text NOT NULL, | ||
`resolved` int(1) NOT NULL DEFAULT '0', | ||
`fk_parent_id` int(11) DEFAULT NULL, | ||
`user_id` int(11) NOT NULL, | ||
`created_at` datetime NOT NULL, | ||
`is_active` int(1) NOT NULL DEFAULT '1', | ||
PRIMARY KEY (`id`) | ||
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1; | ||
ALTER TABLE `editorial_comments` CHANGE `comment` `comment` TEXT CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL; | ||
ALTER TABLE `user_topic` DROP `topic_language`; |
13 changes: 13 additions & 0 deletions
13
newscoop/install/Resources/sql/upgrade/4.4.x/2015.03.13/tables.sql
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,13 @@ | ||
CREATE TABLE IF NOT EXISTS `editorial_comments` ( | ||
`id` int(11) NOT NULL AUTO_INCREMENT, | ||
`fk_article_number` int(11) NOT NULL, | ||
`fk_language_id` int(11) NOT NULL, | ||
`comment` text NOT NULL, | ||
`resolved` int(1) NOT NULL DEFAULT '0', | ||
`fk_parent_id` int(11) DEFAULT NULL, | ||
`user_id` int(11) NOT NULL, | ||
`created_at` datetime NOT NULL, | ||
`is_active` int(1) NOT NULL DEFAULT '1', | ||
PRIMARY KEY (`id`) | ||
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1; | ||
ALTER TABLE `editorial_comments` CHANGE `comment` `comment` TEXT CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL; |