Skip to content

Commit

Permalink
move editorial comment sql so the script can be executed
Browse files Browse the repository at this point in the history
  • Loading branch information
takeit committed Mar 13, 2015
1 parent 6d06f31 commit 4159f61
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
13 changes: 0 additions & 13 deletions newscoop/install/Resources/sql/upgrade/4.4.x/2015.02.12/tables.sql
@@ -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 newscoop/install/Resources/sql/upgrade/4.4.x/2015.03.13/tables.sql
@@ -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;

0 comments on commit 4159f61

Please sign in to comment.