projects
/
cs356-p2-videostore.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add the has_many_polymorphs plugin
[cs356-p2-videostore.git]
/
vendor
/
plugins
/
has_many_polymorphs
/
test
/
integration
/
app
/
db
/
migrate
/
002_create_sellers.rb
1
class CreateSellers < ActiveRecord::Migration
2
def self.up
3
create_table "sellers", :force => true do |t|
4
t.integer "user_id", :null => false
5
t.string "company_name"
6
t.datetime "created_at"
7
t.datetime "updated_at"
8
end
9
end
10
11
def self.down
12
drop_table :sellers
13
end
14
end