Sha256: 12ef56b4810a8cb62dfd247b49ad097f2e7b641125d040a6045dcda74af31570
Contents?: true
Size: 639 Bytes
Versions: 4
Compression:
Stored size: 639 Bytes
Contents
class ChangeFaeTextAreas < ActiveRecord::Migration def change change_table :fae_text_areas do |t| t.remove :contentable t.column :contentable_id, :integer t.column :contentable_type, :string t.column :attached_as, :string end change_table :fae_pages do |t| t.column :slug, :string end add_index :fae_text_areas, :contentable_id add_index :fae_text_areas, :contentable_type add_index :fae_text_areas, :attached_as add_index :fae_text_areas, :position add_index :fae_text_areas, :on_stage add_index :fae_text_areas, :on_prod add_index :fae_pages, :slug end end
Version data entries
4 entries across 4 versions & 1 rubygems