Changes between Version 14 and Version 15 of RelationalDesign


Ignore:
Timestamp:
01/29/25 19:18:41 (28 hours ago)
Author:
226026
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RelationalDesign

    v14 v15  
    88
    99=== Табели
    10 1. **users** (__**id**__, **username**, email, name, is_activate, password, description, registered_at, sex)
     101. **users** (__**id**__, **username**, **email**, **name**, **is_activate**, **password**, description, **registered_at**, **sex**)
    1111
    12 2. **moderator** (*id#(users)*)
     122. **moderator** (__**id#(users)**__)
    1313
    14 3. **developer** (*id#(users)*)
     143. **developer** (__**id#(users)**__)
    1515
    16 4. **project_manager** (*id#(users)*)
     164. **project_manager** (__**id#(users)**__)
    1717
    18 5. **thread** (__**id**__, content, **user_id#(users)**, created_at)
     185. **thread** (__**id**__, content, **user_id#(users)**, **created_at**)
    1919
    20 6. **topic_thread** (**title**, parent_id#(thread), *id#(thread)*)
     206. **topic_thread** (**title**, parent_id#(thread), __**id#(thread)**__)
    2121
    22 7. **topic_guidelines** (id, topic_id, description)
     227. **topic_guidelines** (__**id**__, __**topic_id#(topic_thread)**__, description)
    2323
    24 8. **discussion_thread** (**parent_id**, *id#(thread)*)
     248. **discussion_thread** (**parent_id**, __**id#(thread)**__)
    2525
    26 9. **project_thread** (**title**, repo_url, *id#(thread)*)
     269. **project_thread** (**title**, repo_url, __**id#(thread)**__)
    2727
    28 10. **likes** (user_id#(users), thread_id#(thread))
     2810. **likes** (__**user_id#(users)**__, __**thread_id#(thread)**__)
    2929
    30 11. **topic_threads_moderators** (thread_id#(thread), user_id#(users))
     3011. **topic_threads_moderators** (__**thread_id#(thread)**__, __**user_id#(users)**__)
    3131
    323212. **tag** (__**name**__)
    3333
    34 13. **tag_threads** (thread_id#(thread), tag_name#(tag))
     3413. **tag_threads** (__**thread_id#(thread)**__, __**tag_name#(tag)**__)
    3535
    36 14. **topic_belongs_to_project** (topic_id#(thread), project_id#(thread))
     3614. **topic_belongs_to_project** (__**topic_id#(thread)**__, __**project_id#(thread)**__)
    3737
    38 15. **blacklisted_user** (topic_id#(thread), user_id#(users), moderator_id#(users), start_date, end_date, reason)
     3815. **blacklisted_user** (__**topic_id#(thread)**__, __**user_id#(users)**__, __**moderator_id#(users)**__, __**start_date**__, end_date, reason)
    3939
    40 16. **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)
    4141
    424217. **permissions** (__**name**__)
    4343
    44 18. **project_roles** (name, project_id#(thread), description)
     4418. **project_roles** (__**name**__, __**project_id#**__(thread), description)
    4545
    46 19. **users_project_roles** (user_id#(users), project_id, role_name)
     4619. **users_project_roles** (__**user_id#(users)**__, __**project_id#(project_roles)**__, __**role_name#(project_roles)**__)
    4747
    48 20. **project_roles_permissions** (permission_name#(permissions), role_name, project_id)
     4820. **project_roles_permissions** (__**permission_name#(permissions)**__, __**role_name#(project_roles)**__, __**project_id#(project_roles)**__)
    4949
    50 21. **submission** (id)
     5021. **submission** (__**id**__)
    5151
    52 22. **project_request** (__**id**__, description, **status**, **user_id#(users)**, **project_id#(thread)**, created_at, submission_id)
     5222. **project_request** (__**id**__, description, **status**, **user_id#(users)**, **project_id#(thread)**, **created_at**, submission_id#(submission))
    5353
    54 23. **feedback** (description, submission_type, created_by, created_at, __**submission_id**__)
     5423. **feedback** (description, **submission_type**, created_by#(users), **created_at**, __**submission_id#(submission)**__)
    5555
    56 24. **report** (__**id**__, created_at, **description**, status, __**thread_id#(thread)**__, __**for_user_id#(users)**__, __**by_user_id#(users)**__, submission_id)
     5624. **report** (__**id**__, **created_at**, **description**, status, __**thread_id#(thread)**__, __**for_user_id#(users)**__, __**by_user_id#(users)**__, submission_id#(submission))
    5757
    585825. **channel** (__**name**__, description, __**project_id#(thread)**__, developer_id#(users))
    5959
    60 26. **messages** (__**sent_at__**, **content**, __**sent_by#(users)**__, __**project_id**__, __**channel_name**__)
     6026. **messages** (__**sent_at__**, **content**, __**sent_by#(users)**__, __**project_id#(channel)**__, __**channel_name#(channel)**__)
    6161
    6262== DDL скрипта за бришење и креирање на табелите