1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | var tslib_1 = require("tslib");
|
4 | var PrimaryColumnCannotBeNullableError = (function (_super) {
|
5 | tslib_1.__extends(PrimaryColumnCannotBeNullableError, _super);
|
6 | function PrimaryColumnCannotBeNullableError(object, propertyName) {
|
7 | var _this = _super.call(this) || this;
|
8 | _this.name = "PrimaryColumnCannotBeNullableError";
|
9 | Object.setPrototypeOf(_this, PrimaryColumnCannotBeNullableError.prototype);
|
10 | _this.message = "Primary column " + object.constructor.name + "#" + propertyName + " cannot be nullable. " +
|
11 | "Its not allowed for primary keys. Try to remove nullable option.";
|
12 | return _this;
|
13 | }
|
14 | return PrimaryColumnCannotBeNullableError;
|
15 | }(Error));
|
16 | exports.PrimaryColumnCannotBeNullableError = PrimaryColumnCannotBeNullableError;
|
17 |
|
18 |
|