I wrote a trigger which should copy deleted items from the main table to archive one, here\'s the code:
CREATE TRIGGER db.dJobCandidate ON db.JobCandidate AFT