Database versioning tool