neocities/migrations/069_add_stat_created_indexes.rb

14 lines
262 B
Ruby
Raw Permalink Normal View History

2015-06-17 14:30:05 -07:00
Sequel.migration do
up {
#%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 {
#%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