added map migration file to add columns
This commit is contained in:
parent
81851df633
commit
73f18ce340
1 changed files with 8 additions and 0 deletions
8
db/migrate/20121026103129_add_all_to_map.rb
Normal file
8
db/migrate/20121026103129_add_all_to_map.rb
Normal file
|
@ -0,0 +1,8 @@
|
|||
class AddAllToMap < ActiveRecord::Migration
|
||||
def self.up
|
||||
add_column :maps, :name, :text
|
||||
add_column :maps, :desc, :text
|
||||
add_column :maps, :permission, :text
|
||||
add_column :maps, :user_id, :integer
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue