declare rails version in migrations

pull/6827/head
Jens Ulferts 7 years ago
parent 3ec7be07b0
commit 3644255cd6
No known key found for this signature in database
GPG Key ID: 3CAA4B1182CF5308
  1. 2
      db/migrate/20120605121861_aggregated_my_project_page_migrations.rb
  2. 2
      db/migrate/20130903172842_my_project_page_migrate_serialized_yaml.rb
  3. 2
      db/migrate/20130904181242_rename_blocks_keys.rb

@ -20,7 +20,7 @@
require Rails.root.join("db","migrate","migration_utils","migration_squasher").to_s
require 'open_project/plugins/migration_mapping'
# This migration aggregates the migrations detailed in MIGRATION_FILES
class AggregatedMyProjectPageMigrations < ActiveRecord::Migration
class AggregatedMyProjectPageMigrations < ActiveRecord::Migration[5.0]
MIGRATION_FILES = <<-MIGRATIONS
20110804151010_add_projects_overviews.rb

@ -20,7 +20,7 @@
require Rails.root.join("db","migrate","migration_utils","legacy_yamler").to_s
class MyProjectPageMigrateSerializedYaml < ActiveRecord::Migration
class MyProjectPageMigrateSerializedYaml < ActiveRecord::Migration[5.0]
include Migration::LegacyYamler
def up

@ -18,7 +18,7 @@
# See doc/COPYRIGHT.md for more details.
#++
class RenameBlocksKeys < ActiveRecord::Migration
class RenameBlocksKeys < ActiveRecord::Migration[5.0]
REPLACED = {
"issuesassignedtome" => "work_packages_assigned_to_me",
"issuesreportedbyme" => "work_packages_reported_by_me",

Loading…
Cancel
Save