P粉5205457532023-09-01 12:46:41
According to the documentation, you need to map the model to the underlying table name. You tried user_cars
, but did you try user-cars
? If your table name is user-cars
, then you should map it to your model like this:
model UserCar { // Fields @@map("user-cars") }