1
0
Fork 0
mirror of https://github.com/neocities/neocities.git synced 2025-05-14 16:37:20 +02:00
neocities/migrations/116_add_api_key_index.rb
2020-11-18 22:00:09 -06:00

9 lines
No EOL
133 B
Ruby

Sequel.migration do
up {
DB.add_index :sites, :api_key
}
down {
DB.drop_index :sites, :api_key
}
end