mirror of
https://github.com/neocities/neocities.git
synced 2025-08-11 03:49:27 +02:00
add username index to sites
This commit is contained in:
parent
781ea9c170
commit
64ebf70b31
1 changed files with 9 additions and 0 deletions
9
migrations/066_add_username_index_to_sites.rb
Normal file
9
migrations/066_add_username_index_to_sites.rb
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
Sequel.migration do
|
||||||
|
up {
|
||||||
|
DB.add_index :sites, :username
|
||||||
|
}
|
||||||
|
|
||||||
|
down {
|
||||||
|
DB.drop_index :sites, :username
|
||||||
|
}
|
||||||
|
end
|
Loading…
Add table
Add a link
Reference in a new issue