Auto-create tables if they don't exist.