Inserting a row is throwing unique constraint violation on a auto-generated column when running with a bash script
psql -Atx "$DB_CONNECTION_STRING" -c "INSERT INTO my_table(mt_version) VALUES ('0.1.11')"
ERROR: duplicate key value violates unique constraint "my_table_version_pkey"
DETAIL: Key (puck_firmware_version_id)=(66) already exists.
When I run with dbeaver, it adds the new row and generates the id with no issue my_table(mt_version) values ('0.1.2')