Переход от наследования таблиц на 1-1 связи

This commit is contained in:
2025-04-15 11:55:10 +04:00
parent a087807fe4
commit 5475b6ab46
20 changed files with 491 additions and 752 deletions
+2 -3
View File
@@ -14,8 +14,6 @@ Table entity {
is_translated bool [default: false, note: "Первичный импорт идёт из англоязычного источника, перевод приходит вторым"]
is_checked bool [default: false, note: "Флаг, указывающий, что перевод был проверен вручную и не требует обновления парсером"]
}
Enum entity_type {
action
@@ -98,6 +96,7 @@ Table entity_external {
Table trait {
id int [pk, increment]
name varchar [not null]
slug varchar [not null]
description text [not null]
type trait_type [not null]
}
@@ -369,7 +368,7 @@ Enum class_progression_type {
Table condition {
id int [pk, ref: - entity.id]
group condition_group [null]
group condition_group [null, note: "{}.group"]
extra text [null, note: "json для того, что надо рассмотреть"]