Skip to content

Instantly share code, notes, and snippets.

@davewongillies
Last active August 29, 2015 14:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davewongillies/f857d9ffe7b40c2008a0 to your computer and use it in GitHub Desktop.
Save davewongillies/f857d9ffe7b40c2008a0 to your computer and use it in GitHub Desktop.
sentry c14b7a9b04ae1f2fe67c6f6badcfd10268813f83 fresh install
> sentry:0109_index_filtervalue_times_seen
> sentry:0110_index_filtervalue_last_seen
> sentry:0111_index_filtervalue_first_seen
> sentry:0112_auto__chg_field_option_value__chg_field_useroption_value__chg_field_pr
> sentry:0113_auto__add_field_team_status
> sentry:0114_auto__add_field_projectkey_roles
> sentry:0115_auto__del_projectcountbyminute__del_unique_projectcountbyminute_projec
> sentry:0116_auto__del_field_event_server_name__del_field_event_culprit__del_field_
> sentry:0117_auto__add_rule
> sentry:0118_create_default_rules
- Migration 'sentry:0118_create_default_rules' is marked for no-dry-run.
> sentry:0119_auto__add_field_projectkey_label
> sentry:0120_auto__add_grouprulestatus
> sentry:0121_auto__add_unique_grouprulestatus_rule_group
> sentry:0122_add_event_group_id_datetime_index
FATAL ERROR - The following SQL query failed: DROP INDEX `sentry_message_dc00373b` ON `sentry_message`
The error was: (1091, "Can't DROP 'sentry_message_dc00373b'; check that column/key exists")
> sentry:0123_auto__add_groupassignee__add_index_event_group_datetime
> sentry:0124_auto__add_grouphash__add_unique_grouphash_project_hash
> sentry:0125_auto__add_field_user_is_managed
> sentry:0126_auto__add_field_option_last_updated
> sentry:0127_auto__add_release__add_unique_release_project_version
> sentry:0128_auto__add_broadcast
> sentry:0129_auto__chg_field_release_id__chg_field_pendingteammember_id__chg_field_
> sentry:0130_auto__del_field_project_owner
> sentry:0131_auto__add_organizationmember__add_unique_organizationmember_organizati
FATAL ERROR - The following SQL query failed: ALTER TABLE `sentry_organizationmember` ADD CONSTRAINT `organization_id_refs_id_42dc8e8f` FOREIGN KEY (`organization_id`) REFERENCES `sentry_organization` (`id`);
The error was: (1822, "Failed to add the foreign key constaint. Missing index for constraint 'organization_id_refs_id_42dc8e8f' in the referenced table 'sentry_organization'")
! Error found during real run of migration! Aborting.
! Since you have a database that does not support running
! schema-altering statements in transactions, we have had
! to leave it in an interim state between migrations.
! You *might* be able to recover with: - no dry run output for delete_unique_column() due to dynamic DDL, sorry
= DROP TABLE `sentry_organizationmember` CASCADE; []
= DROP TABLE `sentry_organization` CASCADE; []
- no dry run output for delete_foreign_key() due to dynamic DDL, sorry
= ALTER TABLE `sentry_team` DROP COLUMN `organization_id` CASCADE; []
! The South developers regret this has happened, and would
! like to gently persuade you to consider a slightly
! easier-to-deal-with DBMS (one that supports DDL transactions)
! NOTE: The error which caused the migration to fail is further up.
Error in migration: sentry:0131_auto__add_organizationmember__add_unique_organizationmember_organizati
DatabaseError: (1054, "Unknown column 'sentry_organization.slug' in 'field list'")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment