generated from admin/template
Обновить works/sqllab1
This commit is contained in:
+8
-8
@@ -1,22 +1,22 @@
|
||||
table card {
|
||||
card_name text [not null]
|
||||
card_height numeric [not null, check: `card_height > 0`]
|
||||
card_weight numeric [not null, check: `card_weight > 0`]
|
||||
card_hp int [not null, check: `card_hp > 0`]
|
||||
card_rarity text [null]
|
||||
card_id int [pk, increment]
|
||||
card_stage int [null]
|
||||
card_attack_name text [null]
|
||||
|
||||
card_number text [not null]
|
||||
card_artist text [null]
|
||||
card_release_date date [null]
|
||||
card_inge_url text [null]
|
||||
illustrator_id text [not null, ref: > illustrator.illustrator_id]
|
||||
card_set_id int [not null, ref: > card_set.card_set_id]
|
||||
}
|
||||
|
||||
table card_set {
|
||||
set_name text [not null, unique]
|
||||
set_relaced_date date [null]
|
||||
set_id int [pk, increment]
|
||||
set_code int [not null, unique]
|
||||
set_total_cards int [null, check: `set_total_cards > 0` ]
|
||||
|
||||
card_set_id int [not null, increment]
|
||||
}
|
||||
|
||||
table attack {
|
||||
@@ -33,7 +33,7 @@ table element_type {
|
||||
element_type_symbol text [null]
|
||||
}
|
||||
|
||||
table illustrtor {
|
||||
table illustrator {
|
||||
illustrator_name text [not null, unique]
|
||||
illustrator_id int [pk, increment]
|
||||
illustrator_nationality text [null]
|
||||
|
||||
Reference in New Issue
Block a user