An open API service indexing awesome lists of open source software.

https://github.com/tcd/create-pg-db

Create and drop databases using node-postgres (pg)
https://github.com/tcd/create-pg-db

Last synced: 9 months ago
JSON representation

Create and drop databases using node-postgres (pg)

Awesome Lists containing this project

README

          

# create-pg-db

![node version](https://img.shields.io/badge/node-%3E%3D%208.10-brightgreen)

Create and drop databases using [node-postgres (pg)](https://github.com/brianc/node-postgres).

## Why?

- [TypeORM issue #809 - Creating Databases using typeorm](https://github.com/typeorm/typeorm/issues/809)
- [TypeORM issue #3192 - Initialize schema with typeorm](https://github.com/typeorm/typeorm/issues/3192)
- [TypeORM issue #5382 - TypeORM fails on non-existing schema](https://github.com/typeorm/typeorm/issues/5382)

## Notes

- [Sequelize Create Database (Stack Overflow)](https://stackoverflow.com/questions/31294562/sequelize-create-database/52915491)
- [Re: how to check if a database exists programatically (postgresql.org)](https://www.postgresql.org/message-id/1134045284.21190.4.camel@linux.site)

## Related Projects

- [olalonde/pgtools](https://github.com/olalonde/pgtools)