Ensure table exists when model is created