Sha256: f80f4786fe49c8c783e85f3699f952f9e7c8d9d9a2f41c58264021dde4cd548f

Contents?: true

Size: 318 Bytes

Versions: 1

Compression:

Stored size: 318 Bytes

Contents

class AddResourceImportIdToResourceImportFile < ActiveRecord::Migration[5.1]
  def change
    add_column :resource_import_files, :resource_import_id, :string
    rename_column :resource_import_files, :resource_import_file_size, :resource_import_size
    add_index :resource_import_files, :resource_import_id
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
enju_seed-0.4.0.beta.1 spec/dummy/db/migrate/20150305025906_add_resource_import_id_to_resource_import_file.rb