2015-06-17 14:30:05 -07:00
|
|
|
Sequel.migration do
|
|
|
|
up {
|
2022-11-05 12:46:43 -05:00
|
|
|
#%i{stat_referrers stat_locations stat_paths}.each do |t|
|
|
|
|
# DB.add_index t, :created_at
|
|
|
|
#end
|
2015-06-17 14:30:05 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
down {
|
2022-11-05 12:46:43 -05:00
|
|
|
#%i{stat_referrers stat_locations stat_paths}.each do |t|
|
|
|
|
# DB.drop_index t, :created_at
|
|
|
|
#end
|
2015-06-17 14:30:05 -07:00
|
|
|
}
|
|
|
|
end
|