@@ -25,21 +25,23 @@ postgres:backup-unschedule <name> Unschedules the backup of the postgres service
25
25
postgres:clone <name> <new-name> Create container <new-name> then copy data from <name> into <new-name>
26
26
postgres:connect <name> Connect via psql to a postgres service
27
27
postgres:create <name> Create a postgres service with environment variables
28
+ postgres:create-database <name> <db> Create a postgres database in the specified service
28
29
postgres: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
29
31
postgres:enter <name> [command] Enter or run a command in a running postgres service container
30
32
postgres:export <name> > <file> Export a dump of the postgres service database
31
33
postgres:expose <name> [port] Expose a postgres service on custom port if provided (random port otherwise)
32
34
postgres:import <name> < <file> Import a dump into the postgres service database
33
35
postgres: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
35
37
postgres:list List all postgres services
36
38
postgres:logs <name> [-t] Print the most recent log(s) for this service
37
39
postgres:promote <name> <app> Promote service <name> as DATABASE_URL in <app>
38
40
postgres:restart <name> Graceful shutdown and restart of the postgres service container
39
41
postgres:start <name> Start a previously stopped postgres service
40
42
postgres:stop <name> Stop a running postgres service
41
43
postgres: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
43
45
```
44
46
45
47
## usage
0 commit comments