UNPKG

@nestjs-mod/pg-flyway

Version:

PgFlyway - utility for working with database migrations (site: https://www.npmjs.com/package/pg-flyway, preview version only for Postgres)

20 lines 903 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PgFlywayEnvironments = void 0; const tslib_1 = require("tslib"); const common_1 = require("@nestjs-mod/common"); const class_validator_1 = require("class-validator"); let PgFlywayEnvironments = class PgFlywayEnvironments { }; exports.PgFlywayEnvironments = PgFlywayEnvironments; tslib_1.__decorate([ (0, common_1.EnvModelProperty)({ description: 'Connection string for database with credentials (example: postgres://feat:feat_password@localhost:5432/feat?schema=public)', }), (0, class_validator_1.IsNotEmpty)(), tslib_1.__metadata("design:type", String) ], PgFlywayEnvironments.prototype, "databaseUrl", void 0); exports.PgFlywayEnvironments = PgFlywayEnvironments = tslib_1.__decorate([ (0, common_1.EnvModel)() ], PgFlywayEnvironments); //# sourceMappingURL=pg-flyway.environments.js.map