mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +02:00
9 lines
No EOL
213 B
Ruby
9 lines
No EOL
213 B
Ruby
Sequel.migration do
|
|
up {
|
|
DB.add_index :events, [:created_at, :site_id, :site_change_id, :is_deleted], name: :events_rss_index, order: {created_at: :desc}
|
|
}
|
|
|
|
down {
|
|
DB.drop_index :events, :rss
|
|
}
|
|
end |