Singular or Plural Table Names

Setting up Better-Auth and confused about table naming. I want to use users, accounts, sessions (like everything else in my stack) but BA seems to expect singular by default. I see there's usePlural: true for Drizzle adapter and also modelName config, but some GitHub issues (3774) suggest they're buggy? What are you actually running in production? Singular and just dealing with it? Or is plural working fine for you?
1 Reply
begot
begot16h ago
i personally think singular names make more sense considering tables typically represent a single entity when you query them. but i can see how the plural route can feel more intuitive. you could always have your tables "named" as plural but mapped to the singular variant

Did you find this page helpful?