generated from admin/template
Обновить fff.txt
This commit is contained in:
@@ -1,24 +1,33 @@
|
|||||||
1) Сущность - Card
|
1) Сущность - Card
|
||||||
-Name: TEXT
|
-Name: TEXT (not null,unique)
|
||||||
-Height: numeric
|
-Height: numeric (not null,)
|
||||||
-Weight: numeric
|
-Weight: numeric (not null,)
|
||||||
-Attack name: TEXT
|
-Attack name: TEXT (not null, unique)
|
||||||
-rarity: text
|
-rarity: text (not null)
|
||||||
-stage: int
|
-stage: int
|
||||||
|
-card_id: int (not null, unique)
|
||||||
|
-card_hp: int (not null)
|
||||||
|
|
||||||
|
CONSTRAINT Height CHECK (height > 0)
|
||||||
|
CONSTRAINT card_hp CHECK (hp > 0)
|
||||||
|
|
||||||
2) Сущность: Card_set
|
2) Сущность: Card_set
|
||||||
set_name: text
|
-set_name: text (not null, unique)
|
||||||
relaced date : date
|
-relaced date : date (not null)
|
||||||
|
-set_id: int (not null, unique)
|
||||||
|
-set_code: int (not null)
|
||||||
|
|
||||||
3) Сущность: attack
|
3) Сущность: attack
|
||||||
attack name: text
|
-attack name: text (not null, unique)
|
||||||
attack base damage: int
|
-attack base damage: int (not null)
|
||||||
attack effect: text
|
-attack effect: text
|
||||||
|
|
||||||
|
CONSTRAINT attack base damage CHECK (att > 0)
|
||||||
|
|
||||||
4) Сущность: element type
|
4) Сущность: element type
|
||||||
element type name: text
|
-element type name: text (not null)
|
||||||
|
-element_type_id: int (not null)
|
||||||
|
|
||||||
5) Сущность: illustrator
|
5) Сущность: illustrator
|
||||||
illustrator name: text
|
-illustrator name: text (not null)
|
||||||
|
-illustrator_id: int (not null)
|
||||||
|
|
||||||
Reference in New Issue
Block a user