
CREATE TABLE tcg.public.TCG_MTG_Finish_Audit (
	  audit_id INT GENERATED ALWAYS AS IDENTITY PRIMARY KEY
	, finish_id INT NOT NULL
	, CONSTRAINT FK_TCG_MTG_Finish_Audit_finish_id
		FOREIGN KEY (finish_id)
		REFERENCES tcg.public.TCG_MTG_Finish(finish_id)
	, name_field VARCHAR(255) NOT NULL
	, value_prev TEXT
	, value_new TEXT
	, change_set_id INT NOT NULL
	, CONSTRAINT FK_TCG_MTG_Finish_Audit_change_set_id
		FOREIGN KEY (change_set_id) 
		REFERENCES tcg.public.TCG_Change_Set(change_set_id)
);
