Skip to content

Commit

Permalink
Update CONSTRAINT ON DELETE Attribute on table content_blog_tags2cont…
Browse files Browse the repository at this point in the history
…ent_blog_postings
  • Loading branch information
olafgleba committed Dec 17, 2011
1 parent f96c2b0 commit 3bd3c3c
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions database/wcom.sql
Expand Up @@ -1259,7 +1259,6 @@ CREATE TABLE `content_generator_form_fields` (
`required_message` varchar(255),
`validator_regex` varchar(255),
`validator_message` varchar(255),
`sorting` char(2),
PRIMARY KEY(`id`),
INDEX `form`(`form`),
CONSTRAINT `content_generator_form_fields.form2content_generator_forms.id` FOREIGN KEY (`form`)
Expand Down Expand Up @@ -1349,12 +1348,12 @@ CREATE TABLE `content_blog_tags2content_blog_postings` (
INDEX `tag`(`tag`),
CONSTRAINT `content_blog_postings.id2content_blog_tags.id` FOREIGN KEY (`posting`)
REFERENCES `content_blog_postings`(`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION,
ON DELETE CASCADE
ON UPDATE CASCADE,
CONSTRAINT `content_blog_tags.id2content_blog_postings.id` FOREIGN KEY (`tag`)
REFERENCES `content_blog_tags`(`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION
ON DELETE CASCADE
ON UPDATE CASCADE
)
ENGINE=INNODB CHARACTER SET utf8 COLLATE utf8_unicode_ci;

Expand All @@ -1370,12 +1369,12 @@ CREATE TABLE `content_event_tags2content_event_postings` (
INDEX `tag`(`tag`),
CONSTRAINT `content_event_postings.id2content_event_tags.id` FOREIGN KEY (`posting`)
REFERENCES `content_event_postings`(`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION,
ON DELETE CASCADE
ON UPDATE CASCADE,
CONSTRAINT `content_event_tags.id2content_event_postings.id` FOREIGN KEY (`tag`)
REFERENCES `content_event_tags`(`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION
ON DELETE CASCADE
ON UPDATE CASCADE
)
ENGINE=INNODB CHARACTER SET utf8 COLLATE utf8_unicode_ci;

Expand Down

0 comments on commit 3bd3c3c

Please sign in to comment.