https://github.com/begriffs/postgrest-example
Migrations for an example conference API
https://github.com/begriffs/postgrest-example
Last synced: about 1 year ago
JSON representation
Migrations for an example conference API
- Host: GitHub
- URL: https://github.com/begriffs/postgrest-example
- Owner: begriffs
- License: mit
- Created: 2014-12-29T21:34:51.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2017-05-10T02:17:21.000Z (almost 9 years ago)
- Last Synced: 2025-01-10T17:50:11.604Z (about 1 year ago)
- Language: PLpgSQL
- Homepage: https://postgrest.herokuapp.com
- Size: 4.88 KB
- Stars: 71
- Watchers: 7
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Schema for an example
[PostgREST](https://github.com/begriffs/postgrest) API.
After cloning this, install [sqitch](http://sqitch.org/) and configure
```bash
sqitch config --user user.name 'Your Name'
sqitch config --user user.email 'your email'
sqitch target add production db:pg://[user]:[pass]@[rds url]:5432/[dbname]
sqitch config core.engine pg
sqitch config core.pg.target production
sqitch config --bool deploy.verify true
sqitch config --bool rebase.verify true
```
Thereafter you can deploy.
```bash
sqitch deploy
```
For more sqitch info, see the
[guide](https://github.com/theory/sqitch/blob/master/lib/sqitchtutorial.pod).