changed the description of ErrForeignKeyViolated

This commit is contained in:
Muhammad Amir Ejaz 2023-05-19 15:29:04 +05:00 committed by GitHub
parent 566fa32435
commit 1757393022
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,5 +48,5 @@ var (
// ErrDuplicatedKey occurs when there is a unique key constraint violation
ErrDuplicatedKey = errors.New("duplicated key not allowed")
// ErrForeignKeyViolated occurs when there is a foreign key constraint violation
ErrForeignKeyViolated = errors.New("Violates foreign key constraint")
ErrForeignKeyViolated = errors.New("violates foreign key constraint")
)