ALTER TABLE TCActs
	ADD FOREIGN KEY (ActID)
	REFERENCES TCApplications(TCApplicationID)
	ON DELETE CASCADE
        ON UPDATE CASCADE

ALTER TABLE TCActs ADD FOREIGN KEY (SpecFulfilmentExecutorID) REFERENCES Персонал(Код_работника)
ALTER TABLE TCActs ADD FOREIGN KEY (SupplyExecutorID) REFERENCES Персонал(Код_работника)
ALTER TABLE TCActs ADD FOREIGN KEY (RusTechWatchID)	REFERENCES StoreDocuments(DocumentID)	 