2021年自定义插件数据库数据的最佳约定?

That may have been the case in early days, but nowadays it’s quite the opposite. We even migrated our own plugins from custom fields to their own tables were it made sense, like the poll plugin and the voting plugin.

Plugins with rich data models should create their own models, tables, relationships and migrations. It’s much maintainable and will provide great performance. Just watch for those N+1 :wink:

5 个赞