@@ -25,21 +25,23 @@ postgres:backup-unschedule <name> Unschedules the backup of the postgres service
2525postgres:clone <name> <new-name> Create container <new-name> then copy data from <name> into <new-name>
2626postgres:connect <name> Connect via psql to a postgres service
2727postgres:create <name> Create a postgres service with environment variables
28+ postgres:create-database <name> <db> Create a postgres database in the specified service
2829postgres:destroy <name> Delete the service and stop its container if there are no links left
30+ postgres:destroy-database <name> <db> Delete a postgres database in the specified service
2931postgres:enter <name> [command] Enter or run a command in a running postgres service container
3032postgres:export <name> > <file> Export a dump of the postgres service database
3133postgres:expose <name> [port] Expose a postgres service on custom port if provided (random port otherwise)
3234postgres:import <name> < <file> Import a dump into the postgres service database
3335postgres:info <name> Print the connection information
34- postgres:link <name> <app> Link the postgres service to the app
36+ postgres:link <name> <app> [--user user] [--database database] Link the postgres service to the app
3537postgres:list List all postgres services
3638postgres:logs <name> [-t] Print the most recent log(s) for this service
3739postgres:promote <name> <app> Promote service <name> as DATABASE_URL in <app>
3840postgres:restart <name> Graceful shutdown and restart of the postgres service container
3941postgres:start <name> Start a previously stopped postgres service
4042postgres:stop <name> Stop a running postgres service
4143postgres:unexpose <name> Unexpose a previously exposed postgres service
42- postgres:unlink <name> <app> Unlink the postgres service from the app
44+ postgres:unlink <name> <app> [--user user] [--database database] Unlink the postgres service from the app
4345```
4446
4547## usage
0 commit comments