class AddOptionsToAnnonces < ActiveRecord::Migration
  def change
    add_column :annonces, :nbr_photos, :integer
    add_column :annonces, :highlight, :boolean
    add_column :annonces, :highlight_expire, :date
    add_column :annonces, :big_annonce, :boolean
    add_column :annonces, :big_annonce_expire, :date
    add_column :annonces, :list_date, :date
    add_column :annonces, :left_annonce, :boolean
    add_column :annonces, :left_annonce_expire, :date
    add_column :annonces, :urgent, :boolean
    add_column :annonces, :urgent_expire, :date
    add_column :annonces, :published_date, :date
  end
end
