mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +02:00
8 lines
131 B
Ruby
8 lines
131 B
Ruby
Sequel.migration do
|
|
up {
|
|
DB['ALTER TABLE sites ADD CONSTRAINT uniqueusername UNIQUE (username)'].first
|
|
}
|
|
|
|
down {
|
|
}
|
|
end
|