demarches-normaliennes/db/migrate/20180530095508_create_deleted_dossiers.rb

13 lines
260 B
Ruby
Raw Normal View History

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