When opening the database, create the owners table if missing.