forked from mozilla/kitsune
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix errant migration 95 and the test that let it slip through.
- Loading branch information
Showing
2 changed files
with
19 additions
and
2 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
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 @@ | ||
-- Largely supersede migration 95. | ||
-- Fix `dashboard` column width, engine, and charset. | ||
|
||
DROP TABLE dashboards_groupdashboard; | ||
|
||
CREATE TABLE `dashboards_groupdashboard` ( | ||
`id` integer AUTO_INCREMENT NOT NULL PRIMARY KEY, | ||
`group_id` integer NOT NULL, | ||
`dashboard` varchar(10) NOT NULL, | ||
`parameters` varchar(255) NOT NULL | ||
) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_general_ci; | ||
ALTER TABLE `dashboards_groupdashboard` ADD CONSTRAINT `group_id_refs_id_142d6845` FOREIGN KEY (`group_id`) REFERENCES `auth_group` (`id`); | ||
CREATE INDEX `dashboards_groupdashboard_bda51c3c` ON `dashboards_groupdashboard` (`group_id`); |