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.
13 lines
342 B
13 lines
342 B
Sequel.migration do
|
|
up do
|
|
SequelRails::connection.run 'CREATE EXTENSION IF NOT EXISTS "uuid-ossp"'
|
|
add_column :visualizations, :prev_id, :uuid, :null => true
|
|
add_column :visualizations, :next_id, :uuid, :null => true
|
|
end
|
|
|
|
down do
|
|
drop_column :visualizations, :prev_id
|
|
drop_column :visualizations, :next_id
|
|
end
|
|
end
|