class CreateFlashSales < ActiveRecord::Migration
  def change
    create_table :spree_flash_sales do |t|
      t.string :name
      t.datetime :start_date
      t.datetime :end_date
      t.boolean :active, default: false
      t.string :permalink
      t.belongs_to :saleable, polymorphic: true

      t.timestamps
    end
  end
end

class CreateFlashSales < ActiveRecord::Migration
  def change
    create_table :spree_flash_sales do |t|
      t.string :name
      t.datetime :start_date
      t.datetime :end_date
      t.boolean :active
      t.string :permalink
      t.belongs_to :saleable, polymorphic: true

      t.timestamps
    end
  end
end

Revert "make default value false"
Revert "make default value false"

This reverts commit 366a8ba9c3a527e67a26b7d7068a9cc844297d16.
