Changes between Version 4 and Version 5 of RelationalDesignAIUsage
- Timestamp:
- 09/21/26 15:36:56 (6 days ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
RelationalDesignAIUsage
v4 v5 19 19 '''Model description:''' 20 20 21 The final result of this phase is a relational design based on my existing conceptual ER model, ERModel_v 09, for the BEST Skopje Hub system. The relational design uses partial transformation from the ER model into a PostgreSQL schema. Strong entities are transformed into relations, specializations are represented with supertype and subtype tables, weak entities are represented with composite primary keys that include the keys of their owner entities, M:N relationships are represented as separate relations, and the multivalued `locations` attribute of !EventEditions is represented as a separate relation.21 The final result of this phase is a relational design based on my existing conceptual ER model, ERModel_v12, for the BEST Skopje Hub system. The relational design uses partial transformation from the ER model into a PostgreSQL schema. Strong entities are transformed into relations, specializations are represented with supertype and subtype tables, weak entities are represented with composite primary keys that include the keys of their owner entities, M:N relationships are represented as separate relations. The 'related_to' relationship is the only 1:N relationship represented as a separate relation since storing 'ee_id' as a foreign key in 'activity_sessions' would create many null values. 22 22 23 23 AI was used as a consultation, drafting, and checking tool during this phase. The main uses were: clarifying PostgreSQL syntax, asking for examples of constraints, checking whether relational transformations were consistent with the ER model, drafting realistic sample data based on project-specific rules and my own constraints, and reviewing the final files for inconsistencies. The modeling decisions and final corrections were reviewed against the project requirements and the ER model before being included in the submitted files. … … 184 184 * Application targets were represented directly in `applications` with foreign keys to event editions and, when needed, core team functions. 185 185 * The optional event-related connection of activity sessions was represented with the separate `related_to` relation. 186 * The simple attendance-rule relation was removed from the final Phase P2 relational design because attendance obligations will be derived later through SQL and application logic.186 * `required_attendance` was retained in the final Phase P2 relational design to represent which members are expected to attend specific activity sessions. The rows can be generated from organizational rules, while the detailed restriction on absence announcements will be enforced later through application logic or a database trigger. 187 187 * Realistic, connected sample data was prepared and revised for all tables. 188 188 * The sample data was revised with official UKIM/faculty study programme names and more realistic BEST Skopje event, activity, location, responsibility, and core team examples.
