You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
423 B
20 lines
423 B
class MapsMigration < Sequel::Migration
|
|
|
|
def up
|
|
create_table :maps do
|
|
primary_key :id
|
|
Integer :user_id, :null => false, :index => true
|
|
String :provider, :text => true
|
|
String :bounding_box_sw, :text => true
|
|
String :bounding_box_ne, :text => true
|
|
String :center, :text => true
|
|
Integer :zoom
|
|
end
|
|
end
|
|
|
|
def down
|
|
drop_table :maps
|
|
end
|
|
|
|
end
|