pgroll/pkg/state
Andrew Farries 6cc22c5a63
Add status subcommand (#25)
Add a `status` command to show the status of each schema that `pg-roll`
knows about (ie ,those schema that have had >0 migrations run in them).

`go run . status`

**Example output**:
```json
[
  {
    "Schema": "public",
    "Version": "01_create_tables",
    "Status": "In Progress"
  }
]
```
or:

```json
[
  {
    "Schema": "public",
    "Version": "01_create_tables",
    "Status": "Complete"
  }
]
```

In future the `json` output of the command should be behind a `-o json`
switch and the default output should be human readable.
2023-07-11 11:07:18 +01:00
..
errors.go Add a sentinel error for no active migration (#11) 2023-07-03 14:18:31 +01:00
state.go Add status subcommand (#25) 2023-07-11 11:07:18 +01:00