{
  "version": "0.3.14-fixed",
  "steps": [
    {
      "tag": "CreateEnum",
      "enum": "Sentiment",
      "values": [
        "Happy",
        "Unhappy"
      ]
    },
    {
      "tag": "CreateSource",
      "source": "db"
    },
    {
      "tag": "CreateArgument",
      "location": {
        "tag": "Source",
        "source": "db"
      },
      "argument": "provider",
      "value": "\"postgresql\""
    },
    {
      "tag": "CreateArgument",
      "location": {
        "tag": "Source",
        "source": "db"
      },
      "argument": "url",
      "value": "env(\"POSTGRES_URL\")"
    },
    {
      "tag": "CreateModel",
      "model": "Feedback"
    },
    {
      "tag": "CreateField",
      "model": "Feedback",
      "field": "id",
      "type": "Int",
      "arity": "Required"
    },
    {
      "tag": "CreateDirective",
      "location": {
        "path": {
          "tag": "Field",
          "model": "Feedback",
          "field": "id"
        },
        "directive": "default"
      }
    },
    {
      "tag": "CreateArgument",
      "location": {
        "tag": "Directive",
        "path": {
          "tag": "Field",
          "model": "Feedback",
          "field": "id"
        },
        "directive": "default"
      },
      "argument": "",
      "value": "autoincrement()"
    },
    {
      "tag": "CreateDirective",
      "location": {
        "path": {
          "tag": "Field",
          "model": "Feedback",
          "field": "id"
        },
        "directive": "id"
      }
    },
    {
      "tag": "CreateField",
      "model": "Feedback",
      "field": "pageUrl",
      "type": "String",
      "arity": "Required"
    },
    {
      "tag": "CreateField",
      "model": "Feedback",
      "field": "userAgent",
      "type": "String",
      "arity": "Required"
    },
    {
      "tag": "CreateField",
      "model": "Feedback",
      "field": "ip",
      "type": "String",
      "arity": "Required"
    },
    {
      "tag": "CreateField",
      "model": "Feedback",
      "field": "sentiment",
      "type": "Sentiment",
      "arity": "Required"
    },
    {
      "tag": "CreateField",
      "model": "Feedback",
      "field": "createdAt",
      "type": "DateTime",
      "arity": "Required"
    },
    {
      "tag": "CreateDirective",
      "location": {
        "path": {
          "tag": "Field",
          "model": "Feedback",
          "field": "createdAt"
        },
        "directive": "default"
      }
    },
    {
      "tag": "CreateArgument",
      "location": {
        "tag": "Directive",
        "path": {
          "tag": "Field",
          "model": "Feedback",
          "field": "createdAt"
        },
        "directive": "default"
      },
      "argument": "",
      "value": "now()"
    }
  ]
}