Skip to content

Commit

Permalink
fix(migration): Remove null constraint on agent_id for parcours_docum…
Browse files Browse the repository at this point in the history
…ents
  • Loading branch information
aminedhobb committed Jan 20, 2025
1 parent 0b24fef commit 62014e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.

ActiveRecord::Schema[7.1].define(version: 2024_12_16_135605) do
ActiveRecord::Schema[7.1].define(version: 2025_01_20_125249) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"

Expand Down Expand Up @@ -363,7 +363,7 @@
create_table "parcours_documents", force: :cascade do |t|
t.bigint "department_id", null: false
t.bigint "user_id", null: false
t.bigint "agent_id", null: false
t.bigint "agent_id"
t.string "type"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
Expand Down

0 comments on commit 62014e3

Please sign in to comment.