mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +02:00
9 lines
174 B
Ruby
9 lines
174 B
Ruby
Sequel.migration do
|
|
up {
|
|
DB.add_index :sites, [:follow_count, :updated_at, :views]
|
|
}
|
|
|
|
down {
|
|
DB.drop_index :sites, [:follow_count, :updated_at, :views]
|
|
}
|
|
end
|