Created
September 15, 2011 14:11
-
-
Save stuartchaney/1219331 to your computer and use it in GitHub Desktop.
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
| notices | CREATE TABLE `notices` ( | |
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, | |
`error_message` varchar(255) DEFAULT NULL, | |
`created_at` datetime DEFAULT NULL, | |
`updated_at` datetime DEFAULT NULL, | |
`group_id` int(11) DEFAULT NULL, | |
`project_id` int(11) DEFAULT NULL, | |
PRIMARY KEY (`id`), | |
KEY `index_new_notices_on_created_at` (`created_at`), | |
KEY `index_new_notices_on_group_id_and_created_at` (`group_id`,`created_at`), | |
KEY `index_new_notices_on_group_id` (`group_id`), | |
KEY `index_new_notices_on_project_id_and_rails_env_and_created_at` (`project_id`,`created_at`), | |
KEY `index_new_notices_on_project_id` (`project_id`) | |
) ENGINE=InnoDB AUTO_INCREMENT=2441303338 DEFAULT CHARSET=utf8 | | |
| old_notices | CREATE TABLE `old_notices` ( | |
`id` int(11) NOT NULL AUTO_INCREMENT, | |
`error_message` varchar(255) DEFAULT NULL, | |
`created_at` datetime DEFAULT NULL, | |
`updated_at` datetime DEFAULT NULL, | |
`group_id` int(11) DEFAULT NULL, | |
`project_id` int(11) DEFAULT NULL, | |
PRIMARY KEY (`id`), | |
KEY `index_notices_on_group_id` (`group_id`), | |
KEY `index_notices_on_created_at` (`created_at`), | |
KEY `index_notices_on_project_id` (`project_id`), | |
KEY `index_notices_on_group_id_and_created_at` (`group_id`,`created_at`), | |
KEY `index_notices_on_project_id_and_rails_env_and_created_at` (`project_id`,`created_at`) | |
) ENGINE=InnoDB AUTO_INCREMENT=2069681974 DEFAULT CHARSET=utf8 DELAY_KEY_WRITE=1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
line 20, int(11). That's the problem. What server is that on?