mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +02:00
13 lines
246 B
Ruby
13 lines
246 B
Ruby
Sequel.migration do
|
|
up {
|
|
%i{stat_referrers stat_locations stat_paths} do |t|
|
|
DB.add_index t, :created_at
|
|
end
|
|
}
|
|
|
|
down {
|
|
%i{stat_referrers stat_locations stat_paths} do |t|
|
|
DB.drop_index t, :created_at
|
|
end
|
|
}
|
|
end
|