neocities/migrations/066_add_username_index_to_sites.rb
2015-06-04 01:07:40 -07:00

9 lines
120 B
Ruby

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