neocities/migrations/116_add_api_key_index.rb

9 lines
133 B
Ruby
Raw Permalink Normal View History

2020-11-18 22:00:09 -06:00
Sequel.migration do
up {
DB.add_index :sites, :api_key
}
down {
DB.drop_index :sites, :api_key
}
end