








Code : Tout sélectionner
2025/05/05 07:49:16,stdout,2025-05-05 05:49:16.741 car_id=1 [info] Start / :online
2025/05/05 07:49:16,stdout, (db_connection 2.7.0) lib/db_connection.ex:1756: DBConnection.run_transaction/4
2025/05/05 07:49:16,stdout, (ecto_sql 3.12.1) lib/ecto/adapters/sql.ex:1400: anonymous fn/3 in Ecto.Adapters.SQL.checkout_or_transaction/4
2025/05/05 07:49:16,stdout, (teslamate 2.0.0) lib/teslamate/vehicles/vehicle.ex:792: anonymous fn/4 in TeslaMate.Vehicles.Vehicle.handle_event/4
2025/05/05 07:49:16,stdout, (ecto 3.12.5) lib/ecto/repo/schema.ex:416: anonymous fn/15 in Ecto.Repo.Schema.do_insert/4
2025/05/05 07:49:16,stdout, (ecto 3.12.5) lib/ecto/repo/schema.ex:842: Ecto.Repo.Schema.apply/4
2025/05/05 07:49:16,stdout, (ecto 3.12.5) lib/ecto/repo/schema.ex:865: Ecto.Repo.Schema.constraints_to_errors/3
2025/05/05 07:49:16,stdout, (elixir 1.17.3) lib/enum.ex:1703: Enum."-map/2-lists^map/1-1-"/2
2025/05/05 07:49:16,stdout, (ecto 3.12.5) lib/ecto/repo/schema.ex:881: anonymous fn/4 in Ecto.Repo.Schema.constraints_to_errors/3
2025/05/05 07:49:16,stdout, * "positions_car_id_fkey" (foreign_key_constraint)
2025/05/05 07:49:16,stdout, * "positions_drive_id_fkey" (foreign_key_constraint)
2025/05/05 07:49:16,stdout,The changeset defined the following constraints:
2025/05/05 07:49:16,stdout,`:name` as an option.
2025/05/05 07:49:16,stdout,call `unique_constraint/3` on your changeset with the constraint
2025/05/05 07:49:16,stdout,"exception and instead add it as an error to your changeset, please
"
2025/05/05 07:49:16,stdout,If you would like to stop this constraint violation from raising an
2025/05/05 07:49:16,stdout, * "positions_pkey" (unique_constraint)
2025/05/05 07:49:16,stdout,** (Ecto.ConstraintError) constraint error when attempting to insert struct:SELECT SETVAL('positions_id_seq', (SELECT MAX(id) FROM positions));
Vous devez être membre pour pouvoir répondre
Vous n‘êtes pas membre ? Inscrivez-vous pour rejoindre notre communauté
Les membres peuvent créer leurs propres sujets et s‘abonner à des sujets
C‘est gratuit et cela ne prend qu‘une minute