sailfork / t3code-github / infra/ relay/ migrations/ postgres/ 20260906042516_android_devices/ snapshot.json

{
  "type": "diff",
  "version": "9",
  "dialect": "postgres",
  "id": "1109ed23-036c-4c39-a459-52422a7ffd99",
  "prevIds": ["2374caff-40bf-423c-9255-55e76dddbc2a"],
  "footprints": [
    {
      "statementType": "add_column",
      "statementTarget": ["column", "public", "relay_mobile_devices", "android_api_level"],
      "writes": [
        "s|col|public.relay_mobile_devices.android_api_level",
        "n|col|public.relay_mobile_devices.android_api_level",
        "e|col|public.relay_mobile_devices.android_api_level"
      ],
      "reads": ["n|tbl|public.relay_mobile_devices", "n|sch|public"]
    },
    {
      "statementType": "alter_column",
      "statementTarget": ["column", "public", "relay_mobile_devices", "ios_major_version"],
      "writes": ["s|colprop|public.relay_mobile_devices.ios_major_version.notNull"],
      "reads": [
        "n|tbl|public.relay_mobile_devices",
        "n|sch|public",
        "n|col|public.relay_mobile_devices.ios_major_version"
      ],
      "sqlHash": "b777cbc1f38bf2c6"
    }
  ],
  "deltas": [
    {
      "op": "create",
      "row": {
        "schema": "public",
        "table": "relay_mobile_devices",
        "name": "android_api_level",
        "type": "integer",
        "typeSchema": null,
        "notNull": false,
        "dimensions": 0,
        "default": null,
        "generated": null,
        "identity": null,
        "entityType": "columns"
      }
    },
    {
      "op": "alter",
      "key": "columns\u0000[\"public\",\"relay_mobile_devices\",\"ios_major_version\"]",
      "set": {
        "notNull": false
      }
    }
  ]
}