mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
Fix for iterator
This commit is contained in:
parent
964b4493f8
commit
c9b4393dce
1 changed files with 2 additions and 2 deletions
|
@ -1,12 +1,12 @@
|
|||
Sequel.migration do
|
||||
up {
|
||||
%i{stat_referrers stat_locations stat_paths} do |t|
|
||||
%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} do |t|
|
||||
%i{stat_referrers stat_locations stat_paths}.each do |t|
|
||||
DB.drop_index t, :created_at
|
||||
end
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue