2024-04-29 00:17:15 +02:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2020-07-02 11:02:50 +02:00
|
|
|
class CreateTraitements < ActiveRecord::Migration[5.2]
|
|
|
|
def change
|
|
|
|
create_table :traitements do |t|
|
|
|
|
t.references :dossier, foreign_key: true
|
|
|
|
t.references :instructeur, foreign_key: true
|
|
|
|
t.string :motivation
|
|
|
|
t.string :state
|
|
|
|
t.timestamp :processed_at
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|