cartodb/db/migrate/20130331113845_overlays.rb

16 lines
395 B
Ruby
Raw Normal View History

2020-06-15 10:58:47 +08:00
class OverlaysMigration < Sequel::Migration
def up
create_table :overlays do
String :id, null: false, primary_key: true
Integer :order, null: false
String :options, text: true
String :visualization_id, index: true
end
end #up
def down
drop_table :overlays
end #down
end # OverlaysMigration