UNPKG

typeorm

Version:

Data-Mapper ORM for TypeScript, ES7, ES6, ES5. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, MongoDB databases.

10 lines (8 loc) 408 B
import { TypeORMError } from "./TypeORMError"; export class PrimaryColumnCannotBeNullableError extends TypeORMError { constructor(object, propertyName) { super(`Primary column ${object.constructor.name}#${propertyName} cannot be nullable. ` + `Its not allowed for primary keys. Try to remove nullable option.`); } } //# sourceMappingURL=PrimaryColumnCannotBeNullableError.js.map