This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/db/migrate/20150206004143_flush_application_requests.rb
Sam 820ce8765e refactor traffic report
split traffic report in 2, page view vs raw traffic
hide raw traffic report by default
improve flushing logic for application reqs
2015-02-06 14:39:16 +11:00

9 lines
171 B
Ruby

class FlushApplicationRequests < ActiveRecord::Migration
def up
# flush as enum changed
execute "TRUNCATE TABLE application_requests"
end
def down
end
end