demarches-normaliennes/db/migrate/20180511124302_create_virus_scans.rb
2018-06-12 15:12:38 +02:00

12 lines
258 B
Ruby

class CreateVirusScans < ActiveRecord::Migration[5.2]
def change
create_table :virus_scans do |t|
t.datetime :scanned_at
t.string :status
t.references :champ, index: true
t.string :blob_key
t.timestamps
end
end
end