# This migration comes from fae (originally 20141105214814)
class CreateFaeTextFields < ActiveRecord::Migration[5.0]
  def change
    create_table :fae_text_fields do |t|
      t.references :contentable, polymorphic: true, index: true
      t.string :attached_as, index: true
      t.string :label
      t.string :content
      t.integer :position, default: 0, index: true
      t.boolean :on_stage, default: true, index: true
      t.boolean :on_prod, default: false, index: true

      t.timestamps
    end
  end
end
