Sha256: 1ce4faa71631c1c9cd32ddc467b528d3ef5fbf2aa7209ffadbd0caeece19a21c

Contents?: true

Size: 216 Bytes

Versions: 1

Compression:

Stored size: 216 Bytes

Contents

superclass = ActiveRecord::Migration
superclass = ActiveRecord::Migration[5.0] if superclass.respond_to?(:[])

class AddOtherFileToPost < superclass
  def change
    add_column :posts, :other_file, :string
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
uploadcare-rails-1.2.1 spec/dummy/db/migrate/20181001132710_add_other_file_to_post.rb