femslash-city/migrations/116_add_api_key_index.rb

9 lines
133 B
Ruby
Raw Permalink Normal View History

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