Переход от наследования таблиц на 1-1 связи
This commit is contained in:
+2
-3
@@ -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 для того, что надо рассмотреть"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user