├── .editorconfig ├── .eslintrc ├── .github └── workflows │ └── node.js.yml ├── .gitignore ├── .prettierrc ├── LICENSE ├── README.md ├── assets ├── logo-inverted.jpg └── logo.jpg ├── jest.config.js ├── package.json ├── src ├── bin │ └── migrate.ts ├── index.ts └── migrator.ts ├── tests ├── index.test.js ├── migrations │ ├── 0001_create_table1.up.sql │ └── 0001_drop_table1.down.sql └── migrator.test.js ├── tsconfig.json └── yarn.lock /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fingerprintjs/nice-pg-sql-toolkit/HEAD/.editorconfig -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fingerprintjs/nice-pg-sql-toolkit/HEAD/.eslintrc -------------------------------------------------------------------------------- /.github/workflows/node.js.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fingerprintjs/nice-pg-sql-toolkit/HEAD/.github/workflows/node.js.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules/ 3 | yarn-error.log 4 | .idea 5 | dist -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fingerprintjs/nice-pg-sql-toolkit/HEAD/.prettierrc -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fingerprintjs/nice-pg-sql-toolkit/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fingerprintjs/nice-pg-sql-toolkit/HEAD/README.md -------------------------------------------------------------------------------- /assets/logo-inverted.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fingerprintjs/nice-pg-sql-toolkit/HEAD/assets/logo-inverted.jpg -------------------------------------------------------------------------------- /assets/logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fingerprintjs/nice-pg-sql-toolkit/HEAD/assets/logo.jpg -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | testEnvironment: 'node', 3 | } 4 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fingerprintjs/nice-pg-sql-toolkit/HEAD/package.json -------------------------------------------------------------------------------- /src/bin/migrate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fingerprintjs/nice-pg-sql-toolkit/HEAD/src/bin/migrate.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fingerprintjs/nice-pg-sql-toolkit/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/migrator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fingerprintjs/nice-pg-sql-toolkit/HEAD/src/migrator.ts -------------------------------------------------------------------------------- /tests/index.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fingerprintjs/nice-pg-sql-toolkit/HEAD/tests/index.test.js -------------------------------------------------------------------------------- /tests/migrations/0001_create_table1.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fingerprintjs/nice-pg-sql-toolkit/HEAD/tests/migrations/0001_create_table1.up.sql -------------------------------------------------------------------------------- /tests/migrations/0001_drop_table1.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fingerprintjs/nice-pg-sql-toolkit/HEAD/tests/migrations/0001_drop_table1.down.sql -------------------------------------------------------------------------------- /tests/migrator.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fingerprintjs/nice-pg-sql-toolkit/HEAD/tests/migrator.test.js -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fingerprintjs/nice-pg-sql-toolkit/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fingerprintjs/nice-pg-sql-toolkit/HEAD/yarn.lock --------------------------------------------------------------------------------