{
  "version": "6",
  "dialect": "sqlite",
  "id": "b4ee710f-eaa5-4bbb-9e69-13d490c7142c",
  "prevId": "00000000-0000-0000-0000-000000000000",
  "tables": {
    "commands": {
      "name": "commands",
      "columns": {
        "system": {
          "name": "system",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "label": {
          "name": "label",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "command": {
          "name": "command",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        }
      },
      "indexes": {},
      "foreignKeys": {
        "commands_system_systems_name_fk": {
          "name": "commands_system_systems_name_fk",
          "tableFrom": "commands",
          "tableTo": "systems",
          "columnsFrom": [
            "system"
          ],
          "columnsTo": [
            "name"
          ],
          "onDelete": "cascade",
          "onUpdate": "cascade"
        }
      },
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "emulators": {
      "name": "emulators",
      "columns": {
        "name": {
          "name": "name",
          "type": "text",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "fullname": {
          "name": "fullname",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "systempath": {
          "name": "systempath",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "(json_array())"
        },
        "staticpath": {
          "name": "staticpath",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "(json_array())"
        },
        "corepath": {
          "name": "corepath",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "(json_array())"
        },
        "androidpackage": {
          "name": "androidpackage",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "(json_array())"
        },
        "winregistrypath": {
          "name": "winregistrypath",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "(json_array())"
        }
      },
      "indexes": {
        "emulators_name_unique": {
          "name": "emulators_name_unique",
          "columns": [
            "name"
          ],
          "isUnique": true
        }
      },
      "foreignKeys": {},
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "systemMappings": {
      "name": "systemMappings",
      "columns": {
        "source": {
          "name": "source",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "sourceSlug": {
          "name": "sourceSlug",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "sourceId": {
          "name": "sourceId",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "system": {
          "name": "system",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        }
      },
      "indexes": {},
      "foreignKeys": {
        "systemMappings_system_systems_name_fk": {
          "name": "systemMappings_system_systems_name_fk",
          "tableFrom": "systemMappings",
          "tableTo": "systems",
          "columnsFrom": [
            "system"
          ],
          "columnsTo": [
            "name"
          ],
          "onDelete": "no action",
          "onUpdate": "no action"
        }
      },
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "systems": {
      "name": "systems",
      "columns": {
        "name": {
          "name": "name",
          "type": "text",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": false
        },
        "fullname": {
          "name": "fullname",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "path": {
          "name": "path",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "extension": {
          "name": "extension",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "(json_array())"
        }
      },
      "indexes": {
        "systems_name_unique": {
          "name": "systems_name_unique",
          "columns": [
            "name"
          ],
          "isUnique": true
        }
      },
      "foreignKeys": {},
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    }
  },
  "views": {},
  "enums": {},
  "_meta": {
    "schemas": {},
    "tables": {},
    "columns": {}
  },
  "internal": {
    "indexes": {}
  }
}