Sha256: 848fc0f79e767725afa88a554f2380410373ba52f20df997aa14bfd7ab4db772

Contents?: true

Size: 224 Bytes

Versions: 166

Compression:

Stored size: 224 Bytes

Contents

class RenameManifestationPeriodicalToSerial < ActiveRecord::Migration[4.2]
  def up
    rename_column :manifestations, :periodical, :serial
  end

  def down
    rename_column :manifestations, :serial, :periodical
  end
end

Version data entries

166 entries across 166 versions & 21 rubygems

Version Path
enju_leaf-1.3.0.beta.2 spec/dummy/db/migrate/20140823095740_rename_manifestation_periodical_to_serial.rb
enju_manifestation_viewer-0.3.0.beta.2 spec/dummy/db/migrate/20140823095740_rename_manifestation_periodical_to_serial.rb
enju_manifestation_viewer-0.3.0.beta.1 spec/dummy/db/migrate/20140823095740_rename_manifestation_periodical_to_serial.rb
enju_library-0.3.0.beta.2 spec/dummy/db/migrate/20140823095740_rename_manifestation_periodical_to_serial.rb
enju_seed-0.3.0.beta.6 spec/dummy/db/migrate/20140823095740_rename_manifestation_periodical_to_serial.rb
enju_biblio-0.3.0.beta.2 db/migrate/20140823095740_rename_manifestation_periodical_to_serial.rb