class CreateUpdatedListProviders < ActiveRecord::Migration
  def change
    create_table :updated_list_providers do |t|
      t.integer :refresh_provider_id
      t.integer :nb_photos, default: 0
      t.datetime :action_date
      t.timestamps
    end

    add_index :updated_list_providers, :refresh_provider_id
  end
end
