demarches-normaliennes/db/migrate/20180530095508_create_deleted_dossiers.rb
2018-05-30 18:01:36 +02:00

12 lines
260 B
Ruby

class CreateDeletedDossiers < ActiveRecord::Migration[5.2]
def change
create_table :deleted_dossiers do |t|
t.references :procedure
t.bigint :dossier_id
t.datetime :deleted_at
t.string :state
t.timestamps
end
end
end