SQL/데이터베이스 에러에러
0800608006 — Connection Failure
An established database connection was unexpectedly lost.
postgresql
상세 보기 23502An INSERT or UPDATE attempted to set a NOT NULL column to NULL.
The query does not provide a value for a NOT NULL column with no DEFAULT defined.
Provide a value for the column. Add a DEFAULT value to the column definition. Ensure required fields are always populated.
-- not_null_violation
INSERT INTO users (email) VALUES (NULL);
-- Fix: provide required value
INSERT INTO users (email) VALUES ('user@example.com');08006An established database connection was unexpectedly lost.
57P03The database server is not ready to accept connections.
25006An attempt was made to modify data in a read-only transaction.
3D000The specified database does not exist.
SQLITE_CONSTRAINT (19)An INSERT, UPDATE, or DELETE violated a constraint.
58000An operating system error occurred during a database operation.