├── .eslintignore ├── .eslintrc.js ├── .github ├── FUNDING.yml └── workflows │ ├── ci.yml │ └── lint.yml ├── .gitignore ├── .npmignore ├── .prettierrc.js ├── .well-known └── funding-manifest-urls ├── CONTRIBUTING.md ├── FORMATS.md ├── LICENSE.md ├── README.md ├── SPONSORS.md ├── __tests__ ├── __snapshots__ │ ├── include.test.ts.snap │ ├── migrate.test.ts.snap │ └── settings.test.ts.snap ├── actions-live.test.ts ├── actions.test.ts ├── commit.test.ts ├── compile.test.ts ├── data │ └── amazon-rds-ca-cert.pem ├── helpers.ts ├── include.test.ts ├── manageGraphileMigrateSchema.test.ts ├── mergeWithoutClobbering.test.ts ├── migrate.test.ts ├── migration.test.ts ├── readCurrentMigration.test.ts ├── settings.test.ts ├── uncommit.test.ts ├── warmup.cjs ├── warmup.js ├── watch-actions.test.ts ├── watch.test.ts └── writeCurrentMigration.test.ts ├── docs ├── docker │ ├── Dockerfile │ ├── README.md │ └── graphile-migrate └── idempotent-examples.md ├── jest.config.js ├── package.json ├── scripts ├── update-docs.js ├── usage └── version.mjs ├── src ├── __mocks__ │ ├── migration.ts │ └── pg.ts ├── actions.ts ├── cli.ts ├── commands │ ├── _common.ts │ ├── commit.ts │ ├── compile.ts │ ├── index.ts │ ├── init.ts │ ├── migrate.ts │ ├── reset.ts │ ├── run.ts │ ├── status.ts │ ├── uncommit.ts │ └── watch.ts ├── current.ts ├── hash.ts ├── header.ts ├── indent.ts ├── index.ts ├── instrumentation.ts ├── interfaces.ts ├── lib.ts ├── logger.ts ├── memoize.ts ├── migration.ts ├── pg.ts ├── pgReal.ts ├── settings.ts ├── sluggify.ts └── version.ts ├── tsconfig.build.json ├── tsconfig.json └── yarn.lock /.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: Benjie 2 | -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/lint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/.github/workflows/lint.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/.npmignore -------------------------------------------------------------------------------- /.prettierrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/.prettierrc.js -------------------------------------------------------------------------------- /.well-known/funding-manifest-urls: -------------------------------------------------------------------------------- 1 | https://www.graphile.org/funding.json 2 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /FORMATS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/FORMATS.md -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/README.md -------------------------------------------------------------------------------- /SPONSORS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/SPONSORS.md -------------------------------------------------------------------------------- /__tests__/__snapshots__/include.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/__tests__/__snapshots__/include.test.ts.snap -------------------------------------------------------------------------------- /__tests__/__snapshots__/migrate.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/__tests__/__snapshots__/migrate.test.ts.snap -------------------------------------------------------------------------------- /__tests__/__snapshots__/settings.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/__tests__/__snapshots__/settings.test.ts.snap -------------------------------------------------------------------------------- /__tests__/actions-live.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/__tests__/actions-live.test.ts -------------------------------------------------------------------------------- /__tests__/actions.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/__tests__/actions.test.ts -------------------------------------------------------------------------------- /__tests__/commit.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/__tests__/commit.test.ts -------------------------------------------------------------------------------- /__tests__/compile.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/__tests__/compile.test.ts -------------------------------------------------------------------------------- /__tests__/data/amazon-rds-ca-cert.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/__tests__/data/amazon-rds-ca-cert.pem -------------------------------------------------------------------------------- /__tests__/helpers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/__tests__/helpers.ts -------------------------------------------------------------------------------- /__tests__/include.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/__tests__/include.test.ts -------------------------------------------------------------------------------- /__tests__/manageGraphileMigrateSchema.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/__tests__/manageGraphileMigrateSchema.test.ts -------------------------------------------------------------------------------- /__tests__/mergeWithoutClobbering.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/__tests__/mergeWithoutClobbering.test.ts -------------------------------------------------------------------------------- /__tests__/migrate.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/__tests__/migrate.test.ts -------------------------------------------------------------------------------- /__tests__/migration.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/__tests__/migration.test.ts -------------------------------------------------------------------------------- /__tests__/readCurrentMigration.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/__tests__/readCurrentMigration.test.ts -------------------------------------------------------------------------------- /__tests__/settings.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/__tests__/settings.test.ts -------------------------------------------------------------------------------- /__tests__/uncommit.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/__tests__/uncommit.test.ts -------------------------------------------------------------------------------- /__tests__/warmup.cjs: -------------------------------------------------------------------------------- 1 | module.exports = {}; 2 | -------------------------------------------------------------------------------- /__tests__/warmup.js: -------------------------------------------------------------------------------- 1 | module.exports = {}; 2 | -------------------------------------------------------------------------------- /__tests__/watch-actions.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/__tests__/watch-actions.test.ts -------------------------------------------------------------------------------- /__tests__/watch.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/__tests__/watch.test.ts -------------------------------------------------------------------------------- /__tests__/writeCurrentMigration.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/__tests__/writeCurrentMigration.test.ts -------------------------------------------------------------------------------- /docs/docker/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/docs/docker/Dockerfile -------------------------------------------------------------------------------- /docs/docker/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/docs/docker/README.md -------------------------------------------------------------------------------- /docs/docker/graphile-migrate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/docs/docker/graphile-migrate -------------------------------------------------------------------------------- /docs/idempotent-examples.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/docs/idempotent-examples.md -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/jest.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/package.json -------------------------------------------------------------------------------- /scripts/update-docs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/scripts/update-docs.js -------------------------------------------------------------------------------- /scripts/usage: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/scripts/usage -------------------------------------------------------------------------------- /scripts/version.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/scripts/version.mjs -------------------------------------------------------------------------------- /src/__mocks__/migration.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/src/__mocks__/migration.ts -------------------------------------------------------------------------------- /src/__mocks__/pg.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/src/__mocks__/pg.ts -------------------------------------------------------------------------------- /src/actions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/src/actions.ts -------------------------------------------------------------------------------- /src/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/src/cli.ts -------------------------------------------------------------------------------- /src/commands/_common.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/src/commands/_common.ts -------------------------------------------------------------------------------- /src/commands/commit.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/src/commands/commit.ts -------------------------------------------------------------------------------- /src/commands/compile.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/src/commands/compile.ts -------------------------------------------------------------------------------- /src/commands/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/src/commands/index.ts -------------------------------------------------------------------------------- /src/commands/init.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/src/commands/init.ts -------------------------------------------------------------------------------- /src/commands/migrate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/src/commands/migrate.ts -------------------------------------------------------------------------------- /src/commands/reset.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/src/commands/reset.ts -------------------------------------------------------------------------------- /src/commands/run.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/src/commands/run.ts -------------------------------------------------------------------------------- /src/commands/status.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/src/commands/status.ts -------------------------------------------------------------------------------- /src/commands/uncommit.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/src/commands/uncommit.ts -------------------------------------------------------------------------------- /src/commands/watch.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/src/commands/watch.ts -------------------------------------------------------------------------------- /src/current.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/src/current.ts -------------------------------------------------------------------------------- /src/hash.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/src/hash.ts -------------------------------------------------------------------------------- /src/header.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/src/header.ts -------------------------------------------------------------------------------- /src/indent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/src/indent.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/instrumentation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/src/instrumentation.ts -------------------------------------------------------------------------------- /src/interfaces.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/src/interfaces.ts -------------------------------------------------------------------------------- /src/lib.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/src/lib.ts -------------------------------------------------------------------------------- /src/logger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/src/logger.ts -------------------------------------------------------------------------------- /src/memoize.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/src/memoize.ts -------------------------------------------------------------------------------- /src/migration.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/src/migration.ts -------------------------------------------------------------------------------- /src/pg.ts: -------------------------------------------------------------------------------- 1 | export * from "./pgReal"; 2 | -------------------------------------------------------------------------------- /src/pgReal.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/src/pgReal.ts -------------------------------------------------------------------------------- /src/settings.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/src/settings.ts -------------------------------------------------------------------------------- /src/sluggify.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/src/sluggify.ts -------------------------------------------------------------------------------- /src/version.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/src/version.ts -------------------------------------------------------------------------------- /tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/tsconfig.build.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graphile/migrate/HEAD/yarn.lock --------------------------------------------------------------------------------