mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
add index for sites.parent_site.id
This commit is contained in:
parent
f5da0d4ef0
commit
e7be10fb8e
1 changed files with 9 additions and 0 deletions
9
migrations/102_parent_sites_index.rb
Normal file
9
migrations/102_parent_sites_index.rb
Normal file
|
@ -0,0 +1,9 @@
|
|||
Sequel.migration do
|
||||
up {
|
||||
DB.add_index :sites, :parent_site_id
|
||||
}
|
||||
|
||||
down {
|
||||
DB.drop_index :sites, :parent_site_id
|
||||
}
|
||||
end
|
Loading…
Add table
Reference in a new issue