Changes between Version 4 and Version 5 of RelationalDesignAIUsage


Ignore:
Timestamp:
09/21/26 15:36:56 (6 days ago)
Author:
236024
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RelationalDesignAIUsage

    v4 v5  
    1919'''Model description:'''
    2020
    21 The final result of this phase is a relational design based on my existing conceptual ER model, ERModel_v09, 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.
     21The 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.
    2222
    2323AI 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.
    … …  
    184184* Application targets were represented directly in `applications` with foreign keys to event editions and, when needed, core team functions.
    185185* 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.
    187187* Realistic, connected sample data was prepared and revised for all tables.
    188188* 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.