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
/
005_move_title_to_video.rb
1
class MoveTitleToVideo < ActiveRecord::Migration
2
def self.up
3
add_column :videos, :title, :string
4
remove_column :rentables, :title
5
end
6
7
def self.down
8
remove_column :videos, :title
9
add_column :rentables, :title, :string
10
end
11
end