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)
- Host: GitHub
- URL: https://github.com/tcd/create-pg-db
- Owner: tcd
- Created: 2020-02-27T18:28:23.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-27T22:20:23.000Z (over 6 years ago)
- Last Synced: 2025-02-22T12:42:35.879Z (over 1 year ago)
- Language: JavaScript
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# create-pg-db

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)