projects
/
cs356-p2-videostore.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Massive Cleanup
[cs356-p2-videostore.git]
/
db
/
migrate
/
019_remove_purchase_due_date.rb
1
class RemovePurchaseDueDate < ActiveRecord::Migration
2
def self.up
3
remove_column :purchases, :due_date
4
end
5
6
def self.down
7
add_column :purchases, :due_date, :date
8
end
9
end