{"schemaVersion":5,"id":"project_9ae072d2-7d86-4c2e-a647-0fe1623cc031","name":"Blog / CMS Starter","dialect":"mysql","entities":[{"id":"entity_8110a6ca-2a15-4713-94b1-07b6620ebf02","logicalName":"User","physicalName":"users","description":"User","x":0,"y":0,"width":360,"attributes":[{"id":"attribute_aa66cb54-4de7-45c9-a180-27623956d438","logicalName":"User Id","physicalName":"user_id","physicalNameManual":true,"description":"User Id","dataType":"BIGINT","nullable":true,"primaryKey":true,"foreignKey":false,"unique":false,"autoIncrement":true},{"id":"attribute_60a12626-7642-424c-81c8-bc1a10c5ddcd","logicalName":"Email","physicalName":"email","physicalNameManual":true,"description":"Email","dataType":"varchar(255)","nullable":false,"primaryKey":false,"foreignKey":false,"unique":true,"domain":"Email"},{"id":"attribute_109e371d-b1f6-4ba0-8066-2b6043a36662","logicalName":"Display Name","physicalName":"display_name","physicalNameManual":true,"description":"Display Name","dataType":"VARCHAR(120)","nullable":false,"primaryKey":false,"foreignKey":false,"unique":false},{"id":"attribute_4e5f37bc-7048-407c-879a-c8797ed735f5","logicalName":"Joined At","physicalName":"joined_at","physicalNameManual":true,"description":"Joined At","dataType":"TIMESTAMP","nullable":false,"primaryKey":false,"foreignKey":false,"unique":false}],"indexes":[],"physicalNameManual":true},{"id":"entity_b8ac8772-bdb7-44fa-99d1-bc2c1c96c9eb","logicalName":"Category","physicalName":"categories","description":"Category","x":0,"y":521,"width":360,"attributes":[{"id":"attribute_574e63f5-260f-4b2e-856d-6f4a5a762f04","logicalName":"Category Id","physicalName":"category_id","physicalNameManual":true,"description":"Category Id","dataType":"BIGINT","nullable":true,"primaryKey":true,"foreignKey":false,"unique":false,"autoIncrement":true},{"id":"attribute_c09f3795-892a-469b-98eb-a19d05f4677c","logicalName":"Category Name","physicalName":"category_name","physicalNameManual":true,"description":"Category Name","dataType":"VARCHAR(120)","nullable":false,"primaryKey":false,"foreignKey":false,"unique":true},{"id":"attribute_fda48946-bd7b-4990-a6c3-32e05d45a75b","logicalName":"Category Slug","physicalName":"category_slug","physicalNameManual":true,"description":"Category Slug","dataType":"VARCHAR(120)","nullable":false,"primaryKey":false,"foreignKey":false,"unique":true}],"indexes":[],"physicalNameManual":true},{"id":"entity_9c145d71-0f9d-4a4c-91c3-20260bd53488","logicalName":"Post","physicalName":"posts","description":"Post","x":540,"y":421,"width":360,"attributes":[{"id":"attribute_3339345a-8438-4bf1-a730-80b24febd8b3","logicalName":"Post Id","physicalName":"post_id","physicalNameManual":true,"description":"Post Id","dataType":"BIGINT","nullable":true,"primaryKey":true,"foreignKey":false,"unique":false,"autoIncrement":true},{"id":"attribute_42ebbb8e-0763-4403-ae2d-6be484ef22c2","logicalName":"Author Id","roleName":"Author Id","description":"Author Id","dataType":"BIGINT","nullable":false,"primaryKey":false,"foreignKey":true,"foreignKeyRelationshipId":"relationship_893804a5-9f71-4de0-8d97-9bb6a6353f4b","referencesEntityId":"entity_8110a6ca-2a15-4713-94b1-07b6620ebf02","referencesAttributeId":"attribute_aa66cb54-4de7-45c9-a180-27623956d438","unique":false,"physicalName":"author_id","physicalNameManual":true},{"id":"attribute_d4ccecf2-d32a-4e6b-9593-dd4df3afecec","logicalName":"Category Id","physicalName":"category_id","physicalNameManual":true,"description":"Category Id","dataType":"BIGINT","nullable":true,"primaryKey":false,"foreignKey":true,"unique":false,"foreignKeyRelationshipId":"relationship_9055bf45-9784-468e-815b-8cc3a7327dd6","referencesEntityId":"entity_b8ac8772-bdb7-44fa-99d1-bc2c1c96c9eb","referencesAttributeId":"attribute_574e63f5-260f-4b2e-856d-6f4a5a762f04"},{"id":"attribute_7be99b7a-ff5a-493e-af5e-599e31460090","logicalName":"Post Title","physicalName":"post_title","physicalNameManual":true,"description":"Post Title","dataType":"VARCHAR(300)","nullable":false,"primaryKey":false,"foreignKey":false,"unique":false},{"id":"attribute_9e048f3c-97d6-488f-be01-cad22911bbda","logicalName":"Post Slug","physicalName":"post_slug","physicalNameManual":true,"description":"Post Slug","dataType":"VARCHAR(300)","nullable":false,"primaryKey":false,"foreignKey":false,"unique":true},{"id":"attribute_eea1d2e2-ad39-483b-bc22-e80da0350af0","logicalName":"Post Body","physicalName":"post_body","physicalNameManual":true,"description":"Post Body","dataType":"TEXT","nullable":false,"primaryKey":false,"foreignKey":false,"unique":false},{"id":"attribute_fddf55fc-7c01-42f0-89a6-45b0a4d1a954","logicalName":"Post Status","physicalName":"post_status","physicalNameManual":true,"description":"Post Status","dataType":"VARCHAR(20)","nullable":false,"primaryKey":false,"foreignKey":false,"unique":false},{"id":"attribute_af93535f-786c-475d-a1c9-cc5e050acc0b","logicalName":"Published At","physicalName":"published_at","physicalNameManual":true,"description":"Published At","dataType":"TIMESTAMP","nullable":true,"primaryKey":false,"foreignKey":false,"unique":false}],"indexes":[],"physicalNameManual":true},{"id":"entity_66443c72-c8ee-420b-a464-18be453ec540","logicalName":"Tag","physicalName":"tags","description":"Tag","x":540,"y":215,"width":360,"attributes":[{"id":"attribute_adcc6f1c-eaaf-4c69-a1a8-55894906c9e8","logicalName":"Tag Id","physicalName":"tag_id","physicalNameManual":true,"description":"Tag Id","dataType":"BIGINT","nullable":true,"primaryKey":true,"foreignKey":false,"unique":false,"autoIncrement":true},{"id":"attribute_cbcdbf06-dcbe-4000-a928-fbaa2903a5be","logicalName":"Tag Name","physicalName":"tag_name","physicalNameManual":true,"description":"Tag Name","dataType":"VARCHAR(80)","nullable":false,"primaryKey":false,"foreignKey":false,"unique":true}],"indexes":[],"physicalNameManual":true},{"id":"entity_d9fe7cd7-ca04-4c72-bf16-12b21b42b62e","logicalName":"Post Tag","physicalName":"post_tags","description":"Post Tag","x":1080,"y":352,"width":360,"attributes":[{"id":"attribute_55ddd710-fa7b-46bd-ba2e-b8b5eaf46481","logicalName":"Post Tag Id","physicalName":"post_tag_id","physicalNameManual":true,"description":"Post Tag Id","dataType":"BIGINT","nullable":true,"primaryKey":true,"foreignKey":false,"unique":false,"autoIncrement":true},{"id":"attribute_fe8e8d2d-8bc4-48aa-b162-fa2b2c6ba20e","logicalName":"Post Id","physicalName":"post_id","physicalNameManual":true,"description":"Post Id","dataType":"BIGINT","nullable":false,"primaryKey":false,"foreignKey":true,"unique":true,"indexed":true,"foreignKeyRelationshipId":"relationship_163a3b63-96d5-4504-ad68-1ba41954cb3e","referencesEntityId":"entity_9c145d71-0f9d-4a4c-91c3-20260bd53488","referencesAttributeId":"attribute_3339345a-8438-4bf1-a730-80b24febd8b3"},{"id":"attribute_2111c395-2190-4b39-9ced-0bda017a4ebc","logicalName":"Tag Id","physicalName":"tag_id","physicalNameManual":true,"description":"Tag Id","dataType":"BIGINT","nullable":false,"primaryKey":false,"foreignKey":true,"unique":true,"indexed":true,"foreignKeyRelationshipId":"relationship_45534c78-a8fe-42b9-b186-2d32eb9575b4","referencesEntityId":"entity_66443c72-c8ee-420b-a464-18be453ec540","referencesAttributeId":"attribute_adcc6f1c-eaaf-4c69-a1a8-55894906c9e8"}],"indexes":[{"id":"index_6398da26-512b-471c-bb18-9049302d062c","name":"uk_post_tags","unique":true,"columnIds":["attribute_fe8e8d2d-8bc4-48aa-b162-fa2b2c6ba20e","attribute_2111c395-2190-4b39-9ced-0bda017a4ebc"]}],"physicalNameManual":true},{"id":"entity_a5f4cf62-5c42-4c69-b8d4-008f9c97aff5","logicalName":"Comment","physicalName":"comments","description":"Comment","x":1080,"y":42,"width":360,"attributes":[{"id":"attribute_0ec8d75e-015d-4394-951f-f192fac969a6","logicalName":"Comment Id","physicalName":"comment_id","physicalNameManual":true,"description":"Comment Id","dataType":"BIGINT","nullable":true,"primaryKey":true,"foreignKey":false,"unique":false,"autoIncrement":true},{"id":"attribute_ed373f68-893d-4ad3-a83a-cac05b6aa64c","logicalName":"Post Id","physicalName":"post_id","physicalNameManual":true,"description":"Post Id","dataType":"BIGINT","nullable":false,"primaryKey":false,"foreignKey":true,"unique":false,"indexed":true,"foreignKeyRelationshipId":"relationship_48de003b-8f78-4430-adfd-fac8f095f3f3","referencesEntityId":"entity_9c145d71-0f9d-4a4c-91c3-20260bd53488","referencesAttributeId":"attribute_3339345a-8438-4bf1-a730-80b24febd8b3"},{"id":"attribute_a3750e08-9893-4b14-beda-f6882cd07c27","logicalName":"Author Id","roleName":"Author Id","description":"Author Id","dataType":"BIGINT","nullable":false,"primaryKey":false,"foreignKey":true,"foreignKeyRelationshipId":"relationship_90cce165-8062-4db0-957c-7d11efc2e177","referencesEntityId":"entity_8110a6ca-2a15-4713-94b1-07b6620ebf02","referencesAttributeId":"attribute_aa66cb54-4de7-45c9-a180-27623956d438","unique":false,"physicalName":"author_id","physicalNameManual":true},{"id":"attribute_24624c1c-d62b-4968-b9a1-080e626a9df5","logicalName":"Comment Body","physicalName":"comment_body","physicalNameManual":true,"description":"Comment Body","dataType":"TEXT","nullable":false,"primaryKey":false,"foreignKey":false,"unique":false},{"id":"attribute_589b67a6-a137-4518-8e55-8850832d39f0","logicalName":"Commented At","physicalName":"commented_at","physicalNameManual":true,"description":"Commented At","dataType":"TIMESTAMP","nullable":false,"primaryKey":false,"foreignKey":false,"unique":false}],"indexes":[{"id":"index_5a63b362-c9b9-4919-b652-75e76cb3306c","name":"idx_comments_post","unique":false,"columnIds":["attribute_ed373f68-893d-4ad3-a83a-cac05b6aa64c"]}],"physicalNameManual":true}],"relationships":[{"id":"relationship_893804a5-9f71-4de0-8d97-9bb6a6353f4b","sourceEntityId":"entity_8110a6ca-2a15-4713-94b1-07b6620ebf02","targetEntityId":"entity_9c145d71-0f9d-4a4c-91c3-20260bd53488","cardinality":"1:N","sourceEnd":"one","targetEnd":"zeroOrMany","relationshipType":"nonIdentifying","onDelete":"restrict","constraintName":"fk_posts_author"},{"id":"relationship_9055bf45-9784-468e-815b-8cc3a7327dd6","sourceEntityId":"entity_b8ac8772-bdb7-44fa-99d1-bc2c1c96c9eb","targetEntityId":"entity_9c145d71-0f9d-4a4c-91c3-20260bd53488","cardinality":"1:N","sourceEnd":"one","targetEnd":"zeroOrMany","relationshipType":"nonIdentifying","onDelete":"setNull","constraintName":"fk_posts_category"},{"id":"relationship_163a3b63-96d5-4504-ad68-1ba41954cb3e","sourceEntityId":"entity_9c145d71-0f9d-4a4c-91c3-20260bd53488","targetEntityId":"entity_d9fe7cd7-ca04-4c72-bf16-12b21b42b62e","cardinality":"1:N","sourceEnd":"one","targetEnd":"zeroOrMany","relationshipType":"nonIdentifying","onDelete":"cascade","constraintName":"fk_post_tags_post"},{"id":"relationship_45534c78-a8fe-42b9-b186-2d32eb9575b4","sourceEntityId":"entity_66443c72-c8ee-420b-a464-18be453ec540","targetEntityId":"entity_d9fe7cd7-ca04-4c72-bf16-12b21b42b62e","cardinality":"1:N","sourceEnd":"one","targetEnd":"zeroOrMany","relationshipType":"nonIdentifying","onDelete":"cascade","constraintName":"fk_post_tags_tag"},{"id":"relationship_48de003b-8f78-4430-adfd-fac8f095f3f3","sourceEntityId":"entity_9c145d71-0f9d-4a4c-91c3-20260bd53488","targetEntityId":"entity_a5f4cf62-5c42-4c69-b8d4-008f9c97aff5","cardinality":"1:N","sourceEnd":"one","targetEnd":"zeroOrMany","relationshipType":"nonIdentifying","onDelete":"cascade","constraintName":"fk_comments_post"},{"id":"relationship_90cce165-8062-4db0-957c-7d11efc2e177","sourceEntityId":"entity_8110a6ca-2a15-4713-94b1-07b6620ebf02","targetEntityId":"entity_a5f4cf62-5c42-4c69-b8d4-008f9c97aff5","cardinality":"1:N","sourceEnd":"one","targetEnd":"zeroOrMany","relationshipType":"nonIdentifying","onDelete":"cascade","constraintName":"fk_comments_author"}],"wordDictionary":{"entries":[{"id":"word_d62b47ea-a580-43cc-a281-5ea32ede24fd","logicalWord":"At","physicalWord":"AT","abbreviation":"","englishName":"","description":"","enabled":true,"synonyms":[]},{"id":"word_b2920e23-c6df-4202-961b-388902c12659","logicalWord":"Author","physicalWord":"AUTHOR","abbreviation":"","englishName":"","description":"","enabled":true,"synonyms":[]},{"id":"word_384a2d8d-acc9-421c-86ef-2a23b04da39e","logicalWord":"Body","physicalWord":"BODY","abbreviation":"","englishName":"","description":"","enabled":true,"synonyms":[]},{"id":"word_cfd908cb-7d01-4576-bc25-0c88a88da202","logicalWord":"Category","physicalWord":"CATEGORY","abbreviation":"","englishName":"","description":"A grouping of related records","enabled":true,"synonyms":[]},{"id":"word_fc9a6d3f-eea0-49c3-9dbb-e7d7c1ea9677","logicalWord":"Comment","physicalWord":"COMMENT","abbreviation":"","englishName":"","description":"Feedback attached to a post","enabled":true,"synonyms":[]},{"id":"word_9aa2f8d7-d180-47b1-a2b6-ed14884c1d3c","logicalWord":"Commented","physicalWord":"COMMENTED","abbreviation":"","englishName":"","description":"","enabled":true,"synonyms":[]},{"id":"word_3c954074-79cc-404c-9c1d-8ede51716009","logicalWord":"Display","physicalWord":"DISPLAY","abbreviation":"","englishName":"","description":"","enabled":true,"synonyms":[]},{"id":"word_30acd9db-257f-4b2e-8e98-5e1adec05927","logicalWord":"Email","physicalWord":"EMAIL","abbreviation":"","englishName":"","description":"Email address","enabled":true,"synonyms":[]},{"id":"word_a11772e2-5f52-4c9c-ac11-a8a2602e8b19","logicalWord":"Id","physicalWord":"ID","abbreviation":"","englishName":"","description":"Unique key for a record","enabled":true,"synonyms":[]},{"id":"word_8d30e8e4-5678-4596-8130-7d3644e606d1","logicalWord":"Joined","physicalWord":"JOINED","abbreviation":"","englishName":"","description":"","enabled":true,"synonyms":[]},{"id":"word_0361aa75-7706-48c9-b556-1f324f3eb400","logicalWord":"Name","physicalWord":"NAME","abbreviation":"","englishName":"","description":"Human-readable label","enabled":true,"synonyms":[]},{"id":"word_4172d4e2-0051-4d05-9c83-9a393b76b18f","logicalWord":"Post","physicalWord":"POST","abbreviation":"","englishName":"","description":"A published piece of content","enabled":true,"synonyms":[]},{"id":"word_5fa130c3-dc44-4714-a484-d355fe642082","logicalWord":"Published","physicalWord":"PUBLISHED","abbreviation":"","englishName":"","description":"","enabled":true,"synonyms":[]},{"id":"word_edaa35ed-5132-45a7-a5c8-858d3d4f87e7","logicalWord":"Slug","physicalWord":"SLUG","abbreviation":"","englishName":"","description":"","enabled":true,"synonyms":[]},{"id":"word_c9353f34-7b32-4b6f-b783-d00132d453d2","logicalWord":"Status","physicalWord":"STATUS","abbreviation":"","englishName":"","description":"Lifecycle state of a record","enabled":true,"synonyms":[]},{"id":"word_de83afcb-2977-40f3-a69f-05b859d04f9d","logicalWord":"Tag","physicalWord":"TAG","abbreviation":"","englishName":"","description":"A free-form content label","enabled":true,"synonyms":[]},{"id":"word_e8c1467c-af05-46bb-9755-0aea83a6f9df","logicalWord":"Title","physicalWord":"TITLE","abbreviation":"","englishName":"","description":"","enabled":true,"synonyms":[]},{"id":"word_3cac874a-696b-44cf-ab01-a5af0970bfcb","logicalWord":"User","physicalWord":"USER","abbreviation":"","englishName":"","description":"An account holder","enabled":true,"synonyms":[]}]},"domains":[{"id":"domain_1baeb1c8-3d30-4388-a2fb-1e61a848f56d","name":"Email","dataType":"varchar(255)","description":"Email address"}],"subjectAreas":[],"entityReferences":[],"notes":[],"namingRules":{"separator":"_","casing":"lower","unknownWordMode":"warn"},"viewport":{"x":0,"y":0,"zoom":1},"updatedAt":"2026-08-05T03:55:45.830Z"}