mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
9 lines
228 B
Ruby
9 lines
228 B
Ruby
Sequel.migration do
|
|
up {
|
|
DB['alter table follows add constraint one_follow_per_site unique (site_id, actioning_site_id)'].first
|
|
}
|
|
|
|
down {
|
|
DB['alter table follows drop constraint one_follow_per_site'].first
|
|
}
|
|
end
|