femslash-city/migrations/066_add_username_index_to_sites.rb

10 lines
120 B
Ruby
Raw Normal View History

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