validateTablePrefix
validateTablePrefix(
prefix):void
Defined in: packages/core/src/schema/validate.ts:15
Validates a SQL table name prefix.
Interpolating a user-supplied string into a SQL identifier position
(e.g. ${prefix}_runs) is a path to identifier injection — this guard
is the first line of defense; adapters should still quote identifiers.
Parameters
Section titled “Parameters”prefix
Section titled “prefix”string
Returns
Section titled “Returns”void
Throws
Section titled “Throws”ValidationError when prefix contains characters outside
the safe identifier set ^[a-z_][a-z0-9_]*$.