Обновить works/lab-02/pokemon1.sql

This commit is contained in:
2026-10-14 09:20:48 +00:00
parent 736937d099
commit d93fd5655e
-1
View File
@@ -59,7 +59,6 @@ CREATE TABLE attack (
attack_id INTEGER PRIMARY KEY NOT NULL CHECK (attack_id > 0),
attack_name TEXT NOT NULL,
attack_base_damage INTEGER NOT NULL CHECK (attack_base_damage >= 0),
-- Исправлена опечатка в имени столбца внутри CHECK
attack_damage_modifier TEXT CHECK (attack_damage_modifier IN ('+', 'x')),
attack_card_id INTEGER NOT NULL,
FOREIGN KEY (attack_pokemon_id) REFERENCES card_pokemon(pokemon_id),