projects
/
cs356-p2-videostore.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Clean up BonusPolicy a little
[cs356-p2-videostore.git]
/
db
/
migrate
/
002_create_rentables.rb
1
class CreateRentables < ActiveRecord::Migration
2
def self.up
3
create_table :rentables do |t|
4
t.column :title, :string
5
t.column :genre, :string
6
end
7
end
8
9
def self.down
10
drop_table :rentables
11
end
12
end