mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
13 lines
256 B
Ruby
13 lines
256 B
Ruby
Sequel.migration do
|
|
up {
|
|
%i{stat_referrers stat_locations stat_paths}.each do |t|
|
|
DB.add_index t, :created_at
|
|
end
|
|
}
|
|
|
|
down {
|
|
%i{stat_referrers stat_locations stat_paths}.each do |t|
|
|
DB.drop_index t, :created_at
|
|
end
|
|
}
|
|
end
|