{
  "version": "6",
  "dialect": "sqlite",
  "id": "64dbe345-6baf-4cdf-bc75-221f7eb1ed3b",
  "prevId": "00000000-0000-0000-0000-000000000000",
  "tables": {
    "resources": {
      "name": "resources",
      "columns": {
        "id": {
          "name": "id",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "scope": {
          "name": "scope",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "status": {
          "name": "status",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "kind": {
          "name": "kind",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "fqn": {
          "name": "fqn",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "seq": {
          "name": "seq",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "data": {
          "name": "data",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "props": {
          "name": "props",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "oldProps": {
          "name": "oldProps",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "output": {
          "name": "output",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        }
      },
      "indexes": {},
      "foreignKeys": {
        "resources_scope_scopes_chain_fk": {
          "name": "resources_scope_scopes_chain_fk",
          "tableFrom": "resources",
          "tableTo": "scopes",
          "columnsFrom": ["scope"],
          "columnsTo": ["chain"],
          "onDelete": "no action",
          "onUpdate": "no action"
        }
      },
      "compositePrimaryKeys": {
        "resources_scope_id_pk": {
          "columns": ["scope", "id"],
          "name": "resources_scope_id_pk"
        }
      },
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "scopes": {
      "name": "scopes",
      "columns": {
        "chain": {
          "name": "chain",
          "type": "text",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "parent": {
          "name": "parent",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        }
      },
      "indexes": {},
      "foreignKeys": {},
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    }
  },
  "views": {},
  "enums": {},
  "_meta": {
    "schemas": {},
    "tables": {},
    "columns": {}
  },
  "internal": {
    "indexes": {}
  }
}
