{
  "canvas": {
    "width": 2000,
    "height": 2000,
    "scrollTop": 0,
    "scrollLeft": 4.166666507720947,
    "show": {
      "tableComment": true,
      "columnComment": true,
      "columnDataType": true,
      "columnDefault": true,
      "columnAutoIncrement": false,
      "columnPrimaryKey": true,
      "columnUnique": false,
      "columnNotNull": true,
      "relationship": true
    },
    "database": "MySQL",
    "databaseName": "uczelnia",
    "canvasType": "ERD",
    "language": "GraphQL",
    "tableCase": "pascalCase",
    "columnCase": "camelCase",
    "setting": {
      "relationshipDataTypeSync": true,
      "columnOrder": [
        "columnName",
        "columnDataType",
        "columnNotNull",
        "columnUnique",
        "columnAutoIncrement",
        "columnDefault",
        "columnComment"
      ]
    }
  },
  "table": {
    "tables": [
      {
        "name": "user",
        "comment": "",
        "columns": [
          {
            "name": "id",
            "comment": "",
            "dataType": "INTEGER",
            "default": "",
            "option": {
              "autoIncrement": false,
              "primaryKey": true,
              "unique": false,
              "notNull": true
            },
            "ui": {
              "active": false,
              "pk": true,
              "fk": false,
              "pfk": false,
              "widthName": 60,
              "widthComment": 60,
              "widthDataType": 60,
              "widthDefault": 60
            },
            "id": "f1af67ca-c447-4b44-3d23-407937c04d12"
          },
          {
            "name": "firstname",
            "comment": "",
            "dataType": "varchar(255)",
            "default": "",
            "option": {
              "autoIncrement": false,
              "primaryKey": false,
              "unique": false,
              "notNull": false
            },
            "ui": {
              "active": false,
              "pk": false,
              "fk": false,
              "pfk": false,
              "widthName": 60,
              "widthComment": 60,
              "widthDataType": 75,
              "widthDefault": 60
            },
            "id": "e6c9403f-11c4-77d8-5b7d-42ab62ba000c"
          },
          {
            "name": "lastname",
            "comment": "",
            "dataType": "varchar(255)",
            "default": "",
            "option": {
              "autoIncrement": false,
              "primaryKey": false,
              "unique": false,
              "notNull": false
            },
            "ui": {
              "active": false,
              "pk": false,
              "fk": false,
              "pfk": false,
              "widthName": 60,
              "widthComment": 60,
              "widthDataType": 75,
              "widthDefault": 60
            },
            "id": "08e97091-4708-07e7-f715-ca1f2f05da15"
          },
          {
            "name": "email",
            "comment": "",
            "dataType": "varchar(255)",
            "default": "",
            "option": {
              "autoIncrement": false,
              "primaryKey": false,
              "unique": false,
              "notNull": false
            },
            "ui": {
              "active": false,
              "pk": false,
              "fk": false,
              "pfk": false,
              "widthName": 60,
              "widthComment": 60,
              "widthDataType": 75,
              "widthDefault": 60
            },
            "id": "8618344d-435c-a6fc-dc75-bbce0ffa9428"
          },
          {
            "name": "password",
            "comment": "",
            "dataType": "varchar(255)",
            "default": "",
            "option": {
              "autoIncrement": false,
              "primaryKey": false,
              "unique": false,
              "notNull": false
            },
            "ui": {
              "active": false,
              "pk": false,
              "fk": false,
              "pfk": false,
              "widthName": 60,
              "widthComment": 60,
              "widthDataType": 75,
              "widthDefault": 60
            },
            "id": "6be607d9-94ef-4faf-2f58-e3907874c6d5"
          },
          {
            "name": "status",
            "comment": "",
            "dataType": "INTEGER",
            "default": "1",
            "option": {
              "autoIncrement": false,
              "primaryKey": false,
              "unique": false,
              "notNull": false
            },
            "ui": {
              "active": false,
              "pk": false,
              "fk": false,
              "pfk": false,
              "widthName": 60,
              "widthComment": 60,
              "widthDataType": 60,
              "widthDefault": 60
            },
            "id": "fef4e3d5-6dfb-2067-3372-079a9f2db61d"
          },
          {
            "name": "id",
            "comment": "",
            "dataType": "INTEGER",
            "default": "",
            "option": {
              "autoIncrement": false,
              "primaryKey": false,
              "unique": false,
              "notNull": false
            },
            "ui": {
              "active": false,
              "pk": false,
              "fk": false,
              "pfk": false,
              "widthName": 60,
              "widthComment": 60,
              "widthDataType": 60,
              "widthDefault": 60
            },
            "id": "8a20c9cb-bb22-2a19-2a31-526ad2ff4f12"
          }
        ],
        "ui": {
          "active": false,
          "left": 103.33333717452113,
          "top": 130.83333210812683,
          "zIndex": 279,
          "widthName": 60,
          "widthComment": 60
        },
        "id": "b4a584c6-c22f-a2bb-1180-452164ed74dd"
      },
      {
        "name": "course",
        "comment": "",
        "columns": [
          {
            "name": "id",
            "comment": "",
            "dataType": "INTEGER",
            "default": "",
            "option": {
              "autoIncrement": false,
              "primaryKey": true,
              "unique": false,
              "notNull": true
            },
            "ui": {
              "active": false,
              "pk": true,
              "fk": false,
              "pfk": false,
              "widthName": 60,
              "widthComment": 60,
              "widthDataType": 60,
              "widthDefault": 60
            },
            "id": "c9a104d7-e76a-8834-e308-de88eac3e2a4"
          },
          {
            "name": "name",
            "comment": "",
            "dataType": "varchar(255)",
            "default": "",
            "option": {
              "autoIncrement": false,
              "primaryKey": false,
              "unique": false,
              "notNull": false
            },
            "ui": {
              "active": false,
              "pk": false,
              "fk": false,
              "pfk": false,
              "widthName": 60,
              "widthComment": 60,
              "widthDataType": 75,
              "widthDefault": 60
            },
            "id": "db14a345-7baf-2483-4ab0-eeeb7dc4599b"
          },
          {
            "name": "description",
            "comment": "",
            "dataType": "TEXT",
            "default": "",
            "option": {
              "autoIncrement": false,
              "primaryKey": false,
              "unique": false,
              "notNull": false
            },
            "ui": {
              "active": false,
              "pk": false,
              "fk": false,
              "pfk": false,
              "widthName": 64,
              "widthComment": 60,
              "widthDataType": 60,
              "widthDefault": 60
            },
            "id": "f624253c-1473-ae85-7140-b1066a4762ee"
          },
          {
            "name": "teacher",
            "comment": "",
            "dataType": "INTEGER",
            "default": "",
            "option": {
              "autoIncrement": false,
              "primaryKey": false,
              "unique": false,
              "notNull": false
            },
            "ui": {
              "active": false,
              "pk": false,
              "fk": true,
              "pfk": false,
              "widthName": 60,
              "widthComment": 60,
              "widthDataType": 60,
              "widthDefault": 60
            },
            "id": "e81b76f7-bea8-b1b4-339a-e4071c6927cf"
          }
        ],
        "ui": {
          "active": false,
          "left": 704.1666466461295,
          "top": 75.83333429363023,
          "zIndex": 267,
          "widthName": 60,
          "widthComment": 60
        },
        "id": "2fc161cb-da09-b9ca-ab02-889f4cd2e004"
      },
      {
        "name": "user_course",
        "comment": "",
        "columns": [
          {
            "name": "id",
            "comment": "",
            "dataType": "INTEGER",
            "default": "",
            "option": {
              "autoIncrement": false,
              "primaryKey": true,
              "unique": false,
              "notNull": true
            },
            "ui": {
              "active": false,
              "pk": true,
              "fk": false,
              "pfk": false,
              "widthName": 60,
              "widthComment": 60,
              "widthDataType": 60,
              "widthDefault": 60
            },
            "id": "85ec4f41-0edd-3504-e2d2-b7ede17e11e6"
          },
          {
            "name": "user_id",
            "comment": "",
            "dataType": "INTEGER",
            "default": "",
            "option": {
              "autoIncrement": false,
              "primaryKey": false,
              "unique": false,
              "notNull": false
            },
            "ui": {
              "active": false,
              "pk": false,
              "fk": true,
              "pfk": false,
              "widthName": 60,
              "widthComment": 60,
              "widthDataType": 60,
              "widthDefault": 60
            },
            "id": "5e8c870a-9252-3800-1abd-41fdadfc3970"
          },
          {
            "name": "course_id",
            "comment": "",
            "dataType": "INTEGER",
            "default": "",
            "option": {
              "autoIncrement": false,
              "primaryKey": false,
              "unique": false,
              "notNull": false
            },
            "ui": {
              "active": false,
              "pk": false,
              "fk": true,
              "pfk": false,
              "widthName": 60,
              "widthComment": 60,
              "widthDataType": 60,
              "widthDefault": 60
            },
            "id": "cac17674-a993-cf0e-386e-e4d78222edec"
          },
          {
            "name": "note",
            "comment": "",
            "dataType": "DECIMAL",
            "default": "",
            "option": {
              "autoIncrement": false,
              "primaryKey": false,
              "unique": false,
              "notNull": false
            },
            "ui": {
              "active": false,
              "pk": false,
              "fk": false,
              "pfk": false,
              "widthName": 60,
              "widthComment": 60,
              "widthDataType": 60,
              "widthDefault": 60
            },
            "id": "9cb148ff-73c3-6d96-8913-5cb7d478c9ed"
          }
        ],
        "ui": {
          "active": false,
          "left": 936.6666374206553,
          "top": 337.49999056259793,
          "zIndex": 266,
          "widthName": 74,
          "widthComment": 60
        },
        "id": "0cce9ef1-506f-2b57-c102-849f09d7a82a"
      },
      {
        "name": "message",
        "comment": "",
        "columns": [
          {
            "name": "id",
            "comment": "",
            "dataType": "integer",
            "default": "",
            "option": {
              "autoIncrement": false,
              "primaryKey": true,
              "unique": false,
              "notNull": true
            },
            "ui": {
              "active": false,
              "pk": true,
              "fk": false,
              "pfk": false,
              "widthName": 60,
              "widthComment": 60,
              "widthDataType": 60,
              "widthDefault": 60
            },
            "id": "7c16de01-8309-21a6-8f0c-aa572cd1bbdd"
          },
          {
            "name": "title",
            "comment": "",
            "dataType": "TEXT",
            "default": "",
            "option": {
              "autoIncrement": false,
              "primaryKey": false,
              "unique": false,
              "notNull": false
            },
            "ui": {
              "active": false,
              "pk": false,
              "fk": false,
              "pfk": false,
              "widthName": 60,
              "widthComment": 60,
              "widthDataType": 60,
              "widthDefault": 60
            },
            "id": "0182957f-3f02-9300-0c36-ed62e3c2f067"
          },
          {
            "name": "content",
            "comment": "",
            "dataType": "TEXT",
            "default": "",
            "option": {
              "autoIncrement": false,
              "primaryKey": false,
              "unique": false,
              "notNull": false
            },
            "ui": {
              "active": false,
              "pk": false,
              "fk": false,
              "pfk": false,
              "widthName": 60,
              "widthComment": 60,
              "widthDataType": 60,
              "widthDefault": 60
            },
            "id": "2d5cea81-b039-da5b-1f60-3a8baa8dfa63"
          },
          {
            "name": "sent",
            "comment": "",
            "dataType": "DATETIME",
            "default": "",
            "option": {
              "autoIncrement": false,
              "primaryKey": false,
              "unique": false,
              "notNull": false
            },
            "ui": {
              "active": false,
              "pk": false,
              "fk": false,
              "pfk": false,
              "widthName": 60,
              "widthComment": 60,
              "widthDataType": 67,
              "widthDefault": 60
            },
            "id": "3d835d4b-038b-f712-b7a0-6038027c05e3"
          },
          {
            "name": "from",
            "comment": "",
            "dataType": "INTEGER",
            "default": "",
            "option": {
              "autoIncrement": false,
              "primaryKey": false,
              "unique": false,
              "notNull": false
            },
            "ui": {
              "active": false,
              "pk": false,
              "fk": true,
              "pfk": false,
              "widthName": 60,
              "widthComment": 60,
              "widthDataType": 60,
              "widthDefault": 60
            },
            "id": "eb121837-e4c2-df33-7d56-38da962195e2"
          },
          {
            "name": "to",
            "comment": "",
            "dataType": "INTEGER",
            "default": "",
            "option": {
              "autoIncrement": false,
              "primaryKey": false,
              "unique": false,
              "notNull": false
            },
            "ui": {
              "active": false,
              "pk": false,
              "fk": true,
              "pfk": false,
              "widthName": 60,
              "widthComment": 60,
              "widthDataType": 60,
              "widthDefault": 60
            },
            "id": "99270cd1-2069-20f8-4c3f-1b9c2ac0b3cf"
          },
          {
            "name": "thread",
            "comment": "",
            "dataType": "integer",
            "default": "",
            "option": {
              "autoIncrement": false,
              "primaryKey": false,
              "unique": false,
              "notNull": false
            },
            "ui": {
              "active": false,
              "pk": false,
              "fk": true,
              "pfk": false,
              "widthName": 60,
              "widthComment": 60,
              "widthDataType": 60,
              "widthDefault": 60
            },
            "id": "8987368d-988e-c097-73a9-66598ddfbc85"
          }
        ],
        "ui": {
          "active": false,
          "left": 437.4999905625985,
          "top": 470.8333185977411,
          "zIndex": 282,
          "widthName": 60,
          "widthComment": 60
        },
        "id": "a6971922-872b-8f80-fa99-08f4e03e4129"
      }
    ],
    "indexes": [
      {
        "name": "sent_idx",
        "columns": [
          {
            "id": "3d835d4b-038b-f712-b7a0-6038027c05e3",
            "orderType": "ASC"
          }
        ],
        "unique": false,
        "id": "c1d54cab-6c5d-8b5b-25e4-ec297282bbbc",
        "tableId": "a6971922-872b-8f80-fa99-08f4e03e4129"
      }
    ]
  },
  "memo": {
    "memos": []
  },
  "relationship": {
    "relationships": [
      {
        "identification": false,
        "start": {
          "tableId": "b4a584c6-c22f-a2bb-1180-452164ed74dd",
          "columnIds": [
            "f1af67ca-c447-4b44-3d23-407937c04d12"
          ],
          "x": 465.33333717452115,
          "y": 316.7708321081268,
          "direction": "right"
        },
        "end": {
          "tableId": "0cce9ef1-506f-2b57-c102-849f09d7a82a",
          "columnIds": [
            "5e8c870a-9252-3800-1abd-41fdadfc3970"
          ],
          "x": 936.6666374206553,
          "y": 412.99999056259793,
          "direction": "left"
        },
        "id": "a7a406b5-3854-4b9e-0c1e-de7dffef3c51",
        "relationshipType": "OneN"
      },
      {
        "identification": false,
        "start": {
          "tableId": "2fc161cb-da09-b9ca-ab02-889f4cd2e004",
          "columnIds": [
            "c9a104d7-e76a-8834-e308-de88eac3e2a4"
          ],
          "x": 1070.1666466461295,
          "y": 151.33333429363023,
          "direction": "right"
        },
        "end": {
          "tableId": "0cce9ef1-506f-2b57-c102-849f09d7a82a",
          "columnIds": [
            "cac17674-a993-cf0e-386e-e4d78222edec"
          ],
          "x": 1110.1666374206552,
          "y": 337.49999056259793,
          "direction": "top"
        },
        "id": "d20e86cd-89ff-ff26-8acd-ea613d8bdd57",
        "relationshipType": "OneN"
      },
      {
        "identification": false,
        "start": {
          "tableId": "b4a584c6-c22f-a2bb-1180-452164ed74dd",
          "columnIds": [
            "f1af67ca-c447-4b44-3d23-407937c04d12"
          ],
          "x": 465.33333717452115,
          "y": 157.39583210812683,
          "direction": "right"
        },
        "end": {
          "tableId": "2fc161cb-da09-b9ca-ab02-889f4cd2e004",
          "columnIds": [
            "e81b76f7-bea8-b1b4-339a-e4071c6927cf"
          ],
          "x": 704.1666466461295,
          "y": 151.33333429363023,
          "direction": "left"
        },
        "id": "038bf3e3-7f7c-91a4-0553-cc79adf87517",
        "relationshipType": "OneN"
      },
      {
        "identification": false,
        "start": {
          "tableId": "b4a584c6-c22f-a2bb-1180-452164ed74dd",
          "columnIds": [
            "f1af67ca-c447-4b44-3d23-407937c04d12"
          ],
          "x": 465.33333717452115,
          "y": 210.52083210812683,
          "direction": "right"
        },
        "end": {
          "tableId": "a6971922-872b-8f80-fa99-08f4e03e4129",
          "columnIds": [
            "eb121837-e4c2-df33-7d56-38da962195e2"
          ],
          "x": 496.4999905625985,
          "y": 470.8333185977411,
          "direction": "top"
        },
        "id": "5fc93b30-7240-0c6a-5941-012927f27367",
        "relationshipType": "OneN"
      },
      {
        "identification": false,
        "start": {
          "tableId": "b4a584c6-c22f-a2bb-1180-452164ed74dd",
          "columnIds": [
            "f1af67ca-c447-4b44-3d23-407937c04d12"
          ],
          "x": 465.33333717452115,
          "y": 263.6458321081268,
          "direction": "right"
        },
        "end": {
          "tableId": "a6971922-872b-8f80-fa99-08f4e03e4129",
          "columnIds": [
            "99270cd1-2069-20f8-4c3f-1b9c2ac0b3cf"
          ],
          "x": 614.4999905625984,
          "y": 470.8333185977411,
          "direction": "top"
        },
        "id": "81dd2624-7015-6fbe-e489-9e9d461490b0",
        "relationshipType": "OneN"
      },
      {
        "identification": false,
        "start": {
          "tableId": "a6971922-872b-8f80-fa99-08f4e03e4129",
          "columnIds": [
            "7c16de01-8309-21a6-8f0c-aa572cd1bbdd"
          ],
          "x": 732.4999905625984,
          "y": 470.8333185977411,
          "direction": "top"
        },
        "end": {
          "tableId": "a6971922-872b-8f80-fa99-08f4e03e4129",
          "columnIds": [
            "8987368d-988e-c097-73a9-66598ddfbc85"
          ],
          "x": 791.4999905625984,
          "y": 490.8333185977411,
          "direction": "right"
        },
        "id": "cd1efd0d-cd94-c5fe-4a28-c5356ab8b734",
        "relationshipType": "OneN"
      }
    ]
  }
}