{
  "format": "erd-studio",
  "file_version": 1,
  "exported_at": "2026-10-02T10:09:18.200Z",
  "name": "users와 posts",
  "document": {
    "schema_version": 1,
    "settings": {
      "target_database": "postgresql",
      "table_simplification": "default",
      "show_cardinality": true,
      "show_crow_foot": false,
      "new_table": {
        "primary_key": {
          "enabled": true,
          "column_name": "id",
          "data_type": "BIGINT"
        }
      },
      "new_column": {
        "data_type": "TEXT",
        "nullable": true
      },
      "naming": {
        "table_pattern": "table_{n}",
        "column_pattern": "column_{n}",
        "primary_key_constraint_pattern": "pk_{table}",
        "style": "preserve"
      }
    },
    "tables": [
      {
        "id": "19f3b311-eb04-4afb-879f-98496bd71e07",
        "name": "users",
        "description": "",
        "position": {
          "x": 80,
          "y": 80
        },
        "columns": [
          {
            "id": "644cfc1d-a8e1-4fd1-a131-e44dbcb2ced6",
            "name": "id",
            "data_type": "INTEGER",
            "nullable": false,
            "default": {
              "kind": "none"
            }
          },
          {
            "id": "852840d4-48a6-44c0-bf76-3dbc411721ca",
            "name": "email",
            "data_type": "TEXT",
            "nullable": false,
            "default": {
              "kind": "none"
            }
          }
        ],
        "constraints": [
          {
            "id": "d01706f8-0abd-4574-9a9d-d50aaa4cca18",
            "name": "users_pkey",
            "name_mode": "custom",
            "kind": "primary_key",
            "column_ids": ["644cfc1d-a8e1-4fd1-a131-e44dbcb2ced6"]
          }
        ]
      },
      {
        "id": "b5feae33-4460-4813-a077-63420dcb61a6",
        "name": "posts",
        "description": "",
        "position": {
          "x": 420,
          "y": 80
        },
        "columns": [
          {
            "id": "8996fb6b-6434-487a-af96-87b965b7dd5a",
            "name": "id",
            "data_type": "INTEGER",
            "nullable": false,
            "default": {
              "kind": "none"
            }
          },
          {
            "id": "459cea46-7e52-4320-9699-7bdffac37aaa",
            "name": "user_id",
            "data_type": "INTEGER",
            "nullable": false,
            "default": {
              "kind": "none"
            }
          },
          {
            "id": "cb79f4ca-c9b8-44ab-92f9-ec78c9f6d3c4",
            "name": "title",
            "data_type": "TEXT",
            "nullable": false,
            "default": {
              "kind": "none"
            }
          }
        ],
        "constraints": [
          {
            "id": "fc117f65-eb30-4a0b-8a01-5a47eb66369f",
            "name": "posts_pkey",
            "name_mode": "custom",
            "kind": "primary_key",
            "column_ids": ["8996fb6b-6434-487a-af96-87b965b7dd5a"]
          }
        ]
      }
    ],
    "relationships": [
      {
        "id": "47f853af-9872-4a95-9606-5d5900d16bc4",
        "foreign_key": {
          "table_id": "b5feae33-4460-4813-a077-63420dcb61a6",
          "column_id": "459cea46-7e52-4320-9699-7bdffac37aaa"
        },
        "referenced_key": {
          "table_id": "19f3b311-eb04-4afb-879f-98496bd71e07",
          "column_id": "644cfc1d-a8e1-4fd1-a131-e44dbcb2ced6"
        }
      }
    ]
  }
}
