Explicitly point the rails version on migrations

This avoids deprecation warnings.
Signed-off-by: marcheing's avatarHeitor Reis <marcheing@gmail.com>
Signed-off-by: Rafael Reggiani Manzo's avatarRafael Reggiani Manzo <rr.manzo@protonmail.com>
parent f726d1b7
Pipeline #3598199 passed with stage
in 8 minutes and 59 seconds
class AddAttachmentVideoToContents < ActiveRecord::Migration
class AddAttachmentVideoToContents < ActiveRecord::Migration[5.0]
def self.up
change_table :contents do |t|
t.attachment :video
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment