Procházet zdrojové kódy

Fix to use a correct exception class ActiveRecord::IrreversibleMigration in migrations (#36770).


git-svn-id: http://svn.redmine.org/redmine/trunk@21458 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/5.0.0
Go MAEDA před 2 roky
rodič
revize
9462fb4e2c

+ 1
- 1
db/migrate/041_rename_comment_to_comments.rb Zobrazit soubor

@@ -8,6 +8,6 @@ class RenameCommentToComments < ActiveRecord::Migration[4.2]
end

def self.down
raise IrreversibleMigration
raise ActiveRecord::IrreversibleMigration
end
end

+ 1
- 1
db/migrate/044_set_language_length_to_five.rb Zobrazit soubor

@@ -4,6 +4,6 @@ class SetLanguageLengthToFive < ActiveRecord::Migration[4.2]
end

def self.down
raise IrreversibleMigration
raise ActiveRecord::IrreversibleMigration
end
end

+ 1
- 1
db/migrate/048_allow_null_version_effective_date.rb Zobrazit soubor

@@ -4,6 +4,6 @@ class AllowNullVersionEffectiveDate < ActiveRecord::Migration[4.2]
end

def self.down
raise IrreversibleMigration
raise ActiveRecord::IrreversibleMigration
end
end

+ 1
- 1
db/migrate/064_drop_permissions.rb Zobrazit soubor

@@ -5,6 +5,6 @@ class DropPermissions < ActiveRecord::Migration[4.2]
end

def self.down
raise IrreversibleMigration
raise ActiveRecord::IrreversibleMigration
end
end

+ 1
- 1
db/migrate/077_remove_issue_statuses_html_color.rb Zobrazit soubor

@@ -4,6 +4,6 @@ class RemoveIssueStatusesHtmlColor < ActiveRecord::Migration[4.2]
end

def self.down
raise IrreversibleMigration
raise ActiveRecord::IrreversibleMigration
end
end

+ 1
- 1
db/migrate/20090503121510_drop_members_role_id.rb Zobrazit soubor

@@ -4,6 +4,6 @@ class DropMembersRoleId < ActiveRecord::Migration[4.2]
end

def self.down
raise IrreversibleMigration
raise ActiveRecord::IrreversibleMigration
end
end

Načítá se…
Zrušit
Uložit