Sha256: a4bf5ee0a28c4547be5a809d36dbc57c48a5dc65e8242cd201bb48b3f44bb551
Contents?: true
Size: 490 Bytes
Versions: 1
Compression:
Stored size: 490 Bytes
Contents
class RenameSeriesStatementTitleToOriginalTitle < ActiveRecord::Migration[5.1] def self.up rename_column :series_statements, :title, :original_title add_column :series_statements, :title_transcription, :text add_column :series_statements, :title_alternative, :text end def self.down rename_column :series_statements, :original_title, :title remove_column :series_statements, :title_transcription remove_column :series_statements, :title_alternative 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/20100223121519_rename_series_statement_title_to_original_title.rb |