diff --git a/db/migrate/20130703124306_add_archived_field_to_products.rb b/db/migrate/20130703124306_add_archived_field_to_products.rb new file mode 100644 index 0000000..3332437 --- /dev/null +++ b/db/migrate/20130703124306_add_archived_field_to_products.rb @@ -0,0 +1,9 @@ +class AddArchivedFieldToProducts < ActiveRecord::Migration + def self.up + add_column :products, :archived, :boolean, :default => false + end + + def self.down + remove_column :products, :archived + end +end -- libgit2 0.21.2