projects
/
cs356-p2-videostore.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Switch to a single joined table for Videos and Games
[cs356-p2-videostore.git]
/
db
/
migrate
/
008_add_rentable_type.rb
1
class AddRentableType < ActiveRecord::Migration
2
def self.up
3
add_column :rentables, :rtype, :string
4
end
5
6
def self.down
7
remove_column :rentables, :rtype
8
end
9
end