14 lines
193 B
Ruby
14 lines
193 B
Ruby
Sequel.migration do
|
|
up do
|
|
alter_table(:widgets) do
|
|
add_column :source_id, :text
|
|
end
|
|
end
|
|
|
|
down do
|
|
alter_table(:widgets) do
|
|
drop_column :source_id
|
|
end
|
|
end
|
|
end
|