UNPKG

@nestjs-mod/flyway

Version:

Flyway - utility for working with database migrations (official site: https://flywaydb.org, preview version only for Postgres)

20 lines 882 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.FlywayEnvironments = void 0; const tslib_1 = require("tslib"); const common_1 = require("@nestjs-mod/common"); const class_validator_1 = require("class-validator"); let FlywayEnvironments = class FlywayEnvironments { }; exports.FlywayEnvironments = FlywayEnvironments; 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) ], FlywayEnvironments.prototype, "databaseUrl", void 0); exports.FlywayEnvironments = FlywayEnvironments = tslib_1.__decorate([ (0, common_1.EnvModel)() ], FlywayEnvironments); //# sourceMappingURL=flyway.environments.js.map