# This migration comes from file_manager_engine (originally 20120924142907) class CreateFileManager < ActiveRecord::Migration def change create_table :file_managers do |t| t.string :entity_type t.string :entity_id t.string :file t.timestamps end add_index :file_managers, [:file] add_index :file_managers, [:entity_type, :entity_id] end end