diff options
author | 2024-08-08 05:12:50 -0500 | |
---|---|---|
committer | 2024-08-08 12:12:50 +0200 | |
commit | 72c7ae9901de927ae8d9d5be63cbaef4f976422c (patch) | |
tree | 6e41a6b07ad8830375ba7b0e4d924fd9449dc7ef /packages/db/src/runtime/errors.ts | |
parent | 85de47cd982fd13c6286bcc0be384a220996ccbd (diff) | |
download | astro-72c7ae9901de927ae8d9d5be63cbaef4f976422c.tar.gz astro-72c7ae9901de927ae8d9d5be63cbaef4f976422c.tar.zst astro-72c7ae9901de927ae8d9d5be63cbaef4f976422c.zip |
update formatter config (#11640)
* update formatter config
* format
---------
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
Diffstat (limited to 'packages/db/src/runtime/errors.ts')
-rw-r--r-- | packages/db/src/runtime/errors.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/db/src/runtime/errors.ts b/packages/db/src/runtime/errors.ts index 297cbc232..e15044261 100644 --- a/packages/db/src/runtime/errors.ts +++ b/packages/db/src/runtime/errors.ts @@ -2,25 +2,25 @@ import { bold } from 'kleur/colors'; export const FOREIGN_KEY_DNE_ERROR = (tableName: string) => { return `Table ${bold( - tableName + tableName, )} references a table that does not exist. Did you apply the referenced table to the \`tables\` object in your db config?`; }; export const FOREIGN_KEY_REFERENCES_LENGTH_ERROR = (tableName: string) => { return `Foreign key on ${bold( - tableName + tableName, )} is misconfigured. \`columns\` and \`references\` must be the same length.`; }; export const FOREIGN_KEY_REFERENCES_EMPTY_ERROR = (tableName: string) => { return `Foreign key on ${bold( - tableName + tableName, )} is misconfigured. \`references\` array cannot be empty.`; }; export const REFERENCE_DNE_ERROR = (columnName: string) => { return `Column ${bold( - columnName + columnName, )} references a table that does not exist. Did you apply the referenced table to the \`tables\` object in your db config?`; }; |