UNPKG

node-pg-migrate

Version:

PostgreSQL database migration management tool for node.js

81 lines (80 loc) 3.28 kB
"use strict"; var __defProp = Object.defineProperty; var __getOwnPropDesc = Object.getOwnPropertyDescriptor; var __getOwnPropNames = Object.getOwnPropertyNames; var __hasOwnProp = Object.prototype.hasOwnProperty; var __export = (target, all) => { for (var name in all) __defProp(target, name, { get: all[name], enumerable: true }); }; var __copyProps = (to, from, except, desc) => { if (from && typeof from === "object" || typeof from === "function") { for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); } return to; }; var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); var utils_exports = {}; __export(utils_exports, { PgLiteral: () => import_PgLiteral.PgLiteral, StringIdGenerator: () => import_StringIdGenerator.StringIdGenerator, applyType: () => import_types.applyType, applyTypeAdapters: () => import_types.applyTypeAdapters, createSchemalize: () => import_createSchemalize.createSchemalize, createTransformer: () => import_createTransformer.createTransformer, decamelize: () => import_decamelize.decamelize, escapeValue: () => import_escapeValue.escapeValue, formatLines: () => import_formatLines.formatLines, formatParams: () => import_formatParams.formatParams, formatPartitionColumns: () => import_formatPartitionColumns.formatPartitionColumns, getMigrationTableSchema: () => import_getMigrationTableSchema.getMigrationTableSchema, getSchemas: () => import_getSchemas.getSchemas, identity: () => import_identity.identity, intersection: () => import_intersection.intersection, isPgLiteral: () => import_PgLiteral.isPgLiteral, makeComment: () => import_makeComment.makeComment, quote: () => import_quote.quote, toArray: () => import_toArray.toArray }); module.exports = __toCommonJS(utils_exports); var import_createSchemalize = require("./createSchemalize"); var import_createTransformer = require("./createTransformer"); var import_decamelize = require("./decamelize"); var import_escapeValue = require("./escapeValue"); var import_formatLines = require("./formatLines"); var import_formatParams = require("./formatParams"); var import_formatPartitionColumns = require("./formatPartitionColumns"); var import_getMigrationTableSchema = require("./getMigrationTableSchema"); var import_getSchemas = require("./getSchemas"); var import_identity = require("./identity"); var import_intersection = require("./intersection"); var import_makeComment = require("./makeComment"); var import_PgLiteral = require("./PgLiteral"); var import_quote = require("./quote"); var import_StringIdGenerator = require("./StringIdGenerator"); var import_toArray = require("./toArray"); var import_types = require("./types"); // Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = { PgLiteral, StringIdGenerator, applyType, applyTypeAdapters, createSchemalize, createTransformer, decamelize, escapeValue, formatLines, formatParams, formatPartitionColumns, getMigrationTableSchema, getSchemas, identity, intersection, isPgLiteral, makeComment, quote, toArray });