Add Rails version to the migrations.

This commit is contained in:
Steven R. Baker 2019-05-13 18:42:57 +02:00
parent 820f5b5f8f
commit 6fb6cac89c
65 changed files with 68 additions and 68 deletions

View file

@ -1,4 +1,4 @@
class ChangeDatesToDatetimes < ActiveRecord::Migration
class ChangeDatesToDatetimes < ActiveRecord::Migration[5.2]
def self.up
change_column :todos, :show_from, :datetime
change_column :todos, :due, :datetime