Bugfix installation for table pordb_history