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.
16 lines
395 B
16 lines
395 B
4 years ago
|
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
|
||
|
|