projects
/
cs356-p2-videostore.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
0f7ff1716e115cab6bce4877c3864dc6a087f083
[cs356-p2-videostore.git]
/
013_create_medias.rb
1
class CreateMedias < ActiveRecord::Migration
2
def self.up
3
create_table :medias do |t|
4
t.column :name, :string, :null => false
5
end
6
end
7
8
def self.down
9
drop_table :medias
10
end
11
end