@lucidcms/core
Version:
The core of the Lucid CMS. It's responsible for spinning up the API and serving the CMS.
1 lines • 580 B
Source Map (JSON)
{"version":3,"file":"prefix-generated-column-name.mjs","names":["constants"],"sources":["../../../../src/libs/collection/helpers/prefix-generated-column-name.ts"],"sourcesContent":["import constants from \"../../../constants/constants.js\";\n\n/**\n * Adds a prefix to generated columns names. Primarily used for custom field columns in generated tables.\n */\nconst prefixGeneratedColName = (name: string): `_${string}` =>\n\t`${constants.db.generatedColumnPrefix}${name}`;\n\nexport default prefixGeneratedColName;\n"],"mappings":"gDAKA,MAAM,EAA0B,GAC/B,GAAGA,EAAU,GAAG,wBAAwB"}