Script foreign keys after tables