From 93ff33080056f57a07d4cb5c479aec9a69f93281 Mon Sep 17 00:00:00 2001 From: Ari Timonen Date: Sun, 22 Mar 2020 19:46:17 +0200 Subject: [PATCH] Update version number for migrations --- db/migrate/20190917222520_add_teamers_count_to_teams.rb | 2 +- db/migrate/20200315144657_add_category_id_to_server_versions.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/db/migrate/20190917222520_add_teamers_count_to_teams.rb b/db/migrate/20190917222520_add_teamers_count_to_teams.rb index 89ff49d..ba84e6e 100644 --- a/db/migrate/20190917222520_add_teamers_count_to_teams.rb +++ b/db/migrate/20190917222520_add_teamers_count_to_teams.rb @@ -1,4 +1,4 @@ -class AddTeamersCountToTeams < ActiveRecord::Migration +class AddTeamersCountToTeams < ActiveRecord::Migration[4.2] def change add_column :teams, :teamers_count, :integer end diff --git a/db/migrate/20200315144657_add_category_id_to_server_versions.rb b/db/migrate/20200315144657_add_category_id_to_server_versions.rb index eef704d..ad127c5 100644 --- a/db/migrate/20200315144657_add_category_id_to_server_versions.rb +++ b/db/migrate/20200315144657_add_category_id_to_server_versions.rb @@ -1,4 +1,4 @@ -class AddCategoryIdToServerVersions < ActiveRecord::Migration +class AddCategoryIdToServerVersions < ActiveRecord::Migration[4.2] def change change_table :server_versions do |s| s.integer :category_id