advice on database and trigger/sp versioning