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
/
005_add_capitalization_to_seller.rb
1
class AddCapitalizationToSeller < ActiveRecord::Migration
2
def self.up
3
add_column :sellers, :capitalization, :float, :default => 0.0
4
end
5
6
def self.down
7
remove_column :sellers, :capitalization
8
end
9
end