[
  {
    "name": "version",
    "command": [
      "ptah-compat",
      "version"
    ],
    "exit_code": 0
  },
  {
    "name": "postgres-version",
    "command": [
      "psql",
      "-U",
      "tasks",
      "-Atc",
      "SHOW server_version"
    ],
    "exit_code": 0
  },
  {
    "name": "bootstrap",
    "command": [
      "psql",
      "-U",
      "tasks",
      "-v",
      "ON_ERROR_STOP=1",
      "-f",
      "init-db.sql"
    ],
    "exit_code": 0
  },
  {
    "name": "fresh-apply",
    "command": [
      "sh",
      "-eu",
      "commands/apply.txt"
    ],
    "exit_code": 0
  },
  {
    "name": "catalog",
    "command": [
      "psql",
      "-U",
      "tasks",
      "-v",
      "ON_ERROR_STOP=1",
      "-f",
      "sql/catalog.sql"
    ],
    "exit_code": 0
  },
  {
    "name": "repeat-preview",
    "command": [
      "sh",
      "-eu",
      "commands/preview.txt"
    ],
    "exit_code": 0
  },
  {
    "name": "drift",
    "command": [
      "psql",
      "-U",
      "tasks",
      "-v",
      "ON_ERROR_STOP=1",
      "-f",
      "sql/drift.sql"
    ],
    "exit_code": 0
  },
  {
    "name": "drift-preview",
    "command": [
      "sh",
      "-eu",
      "commands/preview.txt"
    ],
    "exit_code": 0
  },
  {
    "name": "after-preview",
    "command": [
      "psql",
      "-U",
      "tasks",
      "-v",
      "ON_ERROR_STOP=1",
      "-f",
      "sql/policy-state.sql"
    ],
    "exit_code": 0
  },
  {
    "name": "repair-apply",
    "command": [
      "sh",
      "-eu",
      "commands/apply.txt"
    ],
    "exit_code": 0
  },
  {
    "name": "after-repair",
    "command": [
      "psql",
      "-U",
      "tasks",
      "-v",
      "ON_ERROR_STOP=1",
      "-f",
      "sql/policy-state.sql"
    ],
    "exit_code": 0
  },
  {
    "name": "settled",
    "command": [
      "sh",
      "-eu",
      "commands/settled.txt"
    ],
    "exit_code": 0
  }
]
