Sha256: dc5e0e6e04213eb208c6528a00cf48dbad2e3e3a94097b5719df153f81e8d2a5

Contents?: true

Size: 388 Bytes

Versions: 46

Compression:

Stored size: 388 Bytes

Contents

class RemoveTranslatedColumns < ActiveRecord::Migration[5.0]
  def change
    remove_column :spina_lines, :content
    remove_column :spina_texts, :content
    remove_column :spina_pages, :title
    remove_column :spina_pages, :menu_title
    remove_column :spina_pages, :description
    remove_column :spina_pages, :seo_title
    remove_column :spina_pages, :materialized_path
  end
end

Version data entries

46 entries across 46 versions & 1 rubygems

Version Path
spina-2.4.0 db/migrate/5_remove_translated_columns.rb
spina-2.3.5 db/migrate/5_remove_translated_columns.rb
spina-2.3.4 db/migrate/5_remove_translated_columns.rb
spina-2.3.3 db/migrate/5_remove_translated_columns.rb
spina-2.3.2 db/migrate/5_remove_translated_columns.rb
spina-2.3.1 db/migrate/5_remove_translated_columns.rb
spina-2.3.0 db/migrate/5_remove_translated_columns.rb
spina-2.2.0 db/migrate/5_remove_translated_columns.rb
spina-2.1.1 db/migrate/5_remove_translated_columns.rb
spina-2.1.0 db/migrate/5_remove_translated_columns.rb
spina-2.0.2 db/migrate/5_remove_translated_columns.rb
spina-2.0.1 db/migrate/5_remove_translated_columns.rb
spina-2.0.0 db/migrate/5_remove_translated_columns.rb
spina-2.0.0.beta db/migrate/5_remove_translated_columns.rb
spina-2.0.0.alpha db/migrate/5_remove_translated_columns.rb
spina-1.2.0 db/migrate/5_remove_translated_columns.rb
spina-1.1.4 db/migrate/5_remove_translated_columns.rb
spina-1.1.3 db/migrate/5_remove_translated_columns.rb
spina-1.1.2 db/migrate/5_remove_translated_columns.rb
spina-1.1.1 db/migrate/5_remove_translated_columns.rb