demarches-normaliennes/db/migrate/20230109140138_create_email_events.rb
2023-01-10 16:07:35 +01:00

13 lines
316 B
Ruby

class CreateEmailEvents < ActiveRecord::Migration[6.1]
def change
create_table :email_events do |t|
t.string :to, null: false
t.string :method, null: false
t.string :status, null: false
t.string :subject, null: false
t.datetime :processed_at
t.timestamps
end
end
end