
CREATE TABLE tcg.public.TCG_MTG_Game_Round_Player_Damage_Audit (
	  audit_id INT GENERATED ALWAYS AS IDENTITY PRIMARY KEY
	, damage_id INT NOT NULL
	, CONSTRAINT FK_TCG_MTG_Game_Round_Player_Damage_Audit_damage_id
		FOREIGN KEY (damage_id)
		REFERENCES tcg.public.TCG_MTG_Game_Round_Player_Damage(damage_id)
	, name_field TEXT NOT NULL
	, value_prev TEXT
	, value_new TEXT
	, change_set_id INT NOT NULL
	, CONSTRAINT FK_TCG_MTG_Game_Round_Player_Damage_Audit_change_set_id
		FOREIGN KEY (change_set_id) 
		REFERENCES tcg.public.TCG_Change_Set(change_set_id)
);
