Alter database after importing dump