1 | ;
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.AutoIncrement = void 0;
|
4 | const attribute_service_1 = require("../attribute-service");
|
5 | /**
|
6 | * Sets auto increment true for annotated field
|
7 | */
|
8 | function AutoIncrement(target, propertyName) {
|
9 | (0, attribute_service_1.addAttributeOptions)(target, propertyName, {
|
10 | autoIncrement: true,
|
11 | });
|
12 | }
|
13 | exports.AutoIncrement = AutoIncrement;
|
14 | //# sourceMappingURL=auto-increment.js.map |
\ | No newline at end of file |