add tmp_expert_migrated to avis table

This commit is contained in:
kara Diaby 2021-03-11 17:03:45 +01:00
parent 81f5a5254b
commit 5e0cfbea07
2 changed files with 7 additions and 1 deletions

View file

@ -0,0 +1,5 @@
class AddTmpExpertMigratedToAvis < ActiveRecord::Migration[6.0]
def change
add_column :avis, :tmp_expert_migrated, :boolean, default: false
end
end

View file

@ -10,7 +10,7 @@
# #
# It's strongly recommended that you check this file into your version control system. # It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 2021_03_07_143807) do ActiveRecord::Schema.define(version: 2021_03_11_141956) do
# These are extensions that must be enabled in order to support this database # These are extensions that must be enabled in order to support this database
enable_extension "plpgsql" enable_extension "plpgsql"
@ -123,6 +123,7 @@ ActiveRecord::Schema.define(version: 2021_03_07_143807) do
t.datetime "revoked_at" t.datetime "revoked_at"
t.bigint "experts_procedure_id" t.bigint "experts_procedure_id"
t.string "claimant_type" t.string "claimant_type"
t.boolean "tmp_expert_migrated", default: false
t.index ["claimant_id"], name: "index_avis_on_claimant_id" t.index ["claimant_id"], name: "index_avis_on_claimant_id"
t.index ["dossier_id"], name: "index_avis_on_dossier_id" t.index ["dossier_id"], name: "index_avis_on_dossier_id"
t.index ["experts_procedure_id"], name: "index_avis_on_experts_procedure_id" t.index ["experts_procedure_id"], name: "index_avis_on_experts_procedure_id"