mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
Add indexes to site_change_files
This commit is contained in:
parent
bafe75463a
commit
be6196d67c
1 changed files with 11 additions and 0 deletions
11
migrations/088_site_change_files_indexes.rb
Normal file
11
migrations/088_site_change_files_indexes.rb
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
Sequel.migration do
|
||||||
|
up {
|
||||||
|
DB.add_index :site_change_files, :site_change_id
|
||||||
|
DB.add_index :site_change_files, :site_id
|
||||||
|
}
|
||||||
|
|
||||||
|
down {
|
||||||
|
DB.drop_index :site_change_files, :site_change_id
|
||||||
|
DB.drop_index :site_change_files, :site_id
|
||||||
|
}
|
||||||
|
end
|
Loading…
Add table
Reference in a new issue