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