5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-22 15:16:21 +00:00
panel/db/migrate/20200205173039_create_csp_reports.rb
2020-02-06 13:17:04 -03:00

17 lines
424 B
Ruby

class CreateCspReports < ActiveRecord::Migration[6.0]
def change
create_table :csp_reports, id: :uuid do |t|
t.timestamps
t.string :disposition
t.string :referrer
t.string :blocked_uri
t.string :document_uri
t.string :effective_directive
t.string :original_policy
t.string :script_sample
t.string :status_code
t.string :violated_directive
end
end
end