A database table versioning system