Changes between Version 11 and Version 12 of RelationalDesign


Ignore:
Timestamp:
01/29/25 14:13:34 (33 hours ago)
Author:
226026
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RelationalDesign

    v11 v12  
    88
    99=== Табели
     101. **users** (__**id**__, **username**, email, name, is_activate, password, description, registered_at, sex)
    1011
    11 1. **users** (__**id**__,**username**, is_activate, password, description, registered_at, sex) 
     122. **moderator** (*id#(users)*)
    1213
    13 2. **moderator** (__***id#(users)***__) 
     143. **developer** (*id#(users)*)
    1415
    15 3. **developer** (__***id#(users)***__) 
     164. **project_manager** (*id#(users)*)
    1617
    17 4. **project_owner** (__***id#(users)***__) 
     185. **thread** (__**id**__, content, **user_id#(users)**, created_at)
    1819
    19 5. **thread** (__**id**__, content, __**user_id#(users)**__) 
     206. **topic_thread** (**title**, parent_id#(thread), *id#(thread)*)
    2021
    21 6. **likes** (__**user_id#(users)**__, __**thread_id#(thread)**__) 
     227. **topic_guidelines** (id, topic_id, description)
    2223
    23 7. **topic_threads_moderators** (__**thread_id#(thread)**__, __***user_id#(users)***__) 
     248. **discussion_thread** (**parent_id**, *id#(thread)*)
    2425
    25 8. **tag** (__**name**__) 
     269. **project_thread** (**title**, repo_url, *id#(thread)*)
    2627
    27 9. **tag_threads** (__**thread_id#(thread)**__, __**tag_name#(tag)**__) 
     2810. **likes** (user_id#(users), thread_id#(thread))
    2829
    29 10. **topic_thread** (__***id#(thread)***__, **title**, guidelines, parent_topic_id#(thread)) 
     3011. **topic_threads_moderators** (thread_id#(thread), user_id#(users))
    3031
    31 11. **topic_belongs_to_project** (__**topic_id#(thread)**__, __**project_id#(thread)**__) 
     3212. **tag** (__**name**__)
    3233
    33 12. **blacklisted_user** (__**topic_id#(thread)**__, __**user_id#(users)**__, __**moderator_id#(users)**__, __**start_date**__, end_date, reason) 
     3413. **tag_threads** (thread_id#(thread), tag_name#(tag))
    3435
    35 13. **project_thread** (__***id#(thread)***__, **title**, repo_url) 
     3614. **topic_belongs_to_project** (topic_id#(thread), project_id#(thread))
    3637
    37 14. **discussion_thread** (__***id#(thread)***__, **user_id#(users)**, reply_discussion_id#(thread), **topic_id#(thread)**) 
     3815. **blacklisted_user** (topic_id#(thread), user_id#(users), moderator_id#(users), start_date, end_date, reason)
    3839
    39 15. **developer_associated_with_project** (__**project_id#(thread)**__, __**developer_id#(users)**__, __**started_at**__, ended_at) 
     4016. **developer_associated_with_project** (project_id#(thread), developer_id#(users), started_at, ended_at)
    4041
    41 16. **permissions** (__**name**__) 
     4217. **permissions** (__**name**__)
    4243
    43 17. **project_roles** (__**name**__, __**project_id#(thread)**__, description) 
     4418. **project_roles** (name, project_id#(thread), description)
    4445
    45 18. **users_project_roles** (__**user_id#(users)**__, __**project_id#(thread)**__, __**role_name#(project_roles)**__) 
     4619. **users_project_roles** (user_id#(users), project_id, role_name)
    4647
    47 19. **project_roles_permissions** (__**permission_name#(permissions)**__, __**role_name#(project_roles)**__, __**project_id#(thread)**__) 
     4820. **project_roles_permissions** (permission_name#(permissions), role_name, project_id)
    4849
    49 20. **project_request** (__**id**__, description, **status**, **user_id#(users)**, **project_id#(thread)**) 
     5021. **submission** (id)
    5051
    51 21. **report** (__**id**__, created_at, **description**, status, **thread_id#(thread)**, **for_user_id#(users)**, **by_user_id#(users)**) 
     5222. **project_request** (__**id**__, description, **status**, **user_id#(users)**, **project_id#(thread)**, created_at, submission_id)
    5253
    53 22. **channel** (__**name**__, description, __***project_id#(thread)***__, **developer#(users)**) 
     5423. **feedback** (description, submission_type, created_by, created_at, __**submission_id**__)
    5455
    55 23. **messages** (__**sent_at**__, **content**, __***sent_by#(users)***__, __***project_id#(thread)***__, __***channel_name#(channel)***__) 
     5624. **report** (id, created_at, **description**, status, thread_id#(thread), for_user_id#(users), by_user_id#(users), submission_id)
    5657
     5825. **channel** (name, description, project_id#(thread), developer_id#(users))
     59
     6026. **messages** (sent_at, **content**, sent_by#(users), project_id, channel_name)
    5761
    5862== DDL скрипта за бришење и креирање на табелите
    59 [attachment:buildboard-ddl.2.sql]
     63[attachment:V1__init_ddl.sql]
    6064== DML скрипта за полнење на табелите за податоци
    61 [attachment:test-data.sql]
     65[attachment:V2__add_test_data.sql]
    6266== Релационен дијаграм
    63 [[Image(ddl-diagram-cmp.png)]]
     67[[Image(ddl-diagram.png)]]
    6468
    6569