projects
/
cs356-p2-videostore.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Lots of stuff, I got too tired to keep perfect revision history
[cs356-p2-videostore.git]
/
db
/
migrate
/
006_create_games.rb
1
class CreateGames < ActiveRecord::Migration
2
def self.up
3
create_table :games do |t|
4
t.column :title, :string
5
t.column :platform, :integer
6
t.column :genre, :integer
7
t.column :rentable_id, :integer
8
end
9
end
10
11
def self.down
12
drop_table :games
13
end
14
end