class CreateHotenticEngineTextContainers < ActiveRecord::Migration[5.0]
  def change
    create_table :hotentic_engine_text_containers do |t|

      t.belongs_to :hotentic_engine_site, new: {name: 'idx_text_containers_to_site_id' }
      t.belongs_to :hotentic_engine_page, new: {name: 'idx_text_containers_to_page_id' }
      t.timestamps

    end
  end
end
