Fix bug in replication
Fix timestamp types on history tables
Fix incorrect column types for timestamps in history tables
Merge branch 'v0.51.x'
Fixes og test af replikering