projects
/
depot.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
bfc90e571e5b212c3ee427d3f55d35ba88eab7b9
[depot.git]
/
db
/
migrate
/
20090226212213_add_date_avilable_until_to_product.rb
1
class
AddDateAvilableUntilToProduct
<
ActiveRecord
::Migration
2
def self
.
up
3
add_column
:products
,
:date_available_until
,
:date
4
Product
.
reset_column_information
5
end
6
7
def self
.
down
8
remove_column
:products
,
:date_available_until
9
end
10
end