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
/
007_add_lat_and_long_to_address.rb
1
class AddLatAndLongToAddress < ActiveRecord::Migration
2
def self.up
3
add_column :addresses, :lat, :float
4
add_column :addresses, :long, :float
5
end
6
7
def self.down
8
remove_column :addresses, :lat
9
remove_column :addresses, :long
10
end
11
end