mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 07:43:39 +08:00
08b790b3c2
this also pulls out the middleware into its own home and inserts in front
11 lines
190 B
Ruby
11 lines
190 B
Ruby
class ResetApplicationRequests < ActiveRecord::Migration
|
|
|
|
def up
|
|
# enum changed we need to clear the data
|
|
execute 'TRUNCATE TABLE application_requests'
|
|
end
|
|
|
|
def down
|
|
end
|
|
end
|