forked from admin/template
Обновить lesson.-1.sql
This commit is contained in:
+3
-3
@@ -1,10 +1,10 @@
|
||||
create table card (
|
||||
card_id int (primary key)
|
||||
card_name text (not null)
|
||||
card_hp int (not null, check) (card_hp > 0)
|
||||
card_stage text (not null)
|
||||
card_species next (not null)
|
||||
card_hp int (not null, check) (card_hp > 0)
|
||||
card_pokidex_number int (not null, check) (card_pokidex_number > 0)
|
||||
card_species next (not null)
|
||||
card_height_m numeric (not null, check) ( card_height_m > 0)
|
||||
card_weight_kg numeric (not null, check) (card_weight_kg > 0)
|
||||
card_number_in_set text (not null)
|
||||
@@ -20,7 +20,7 @@ create table card_set (
|
||||
card_set_name text (not null)
|
||||
card_set_code text (not null)
|
||||
set_total_cards int (not null, check) (set_total_cards > 0)
|
||||
card_set_release_date date (not null)
|
||||
set_release_date date (not null)
|
||||
);
|
||||
|
||||
create table attack (
|
||||
|
||||
Reference in New Issue
Block a user