How do you structure config data in a database?

后端 未结 18 1298
后悔当初
后悔当初 2021-01-31 04:37

What is people\'s prefered method of storing application configuration data in a database. From having done this in the past myself, I\'ve utilised two ways of doing it.

18条回答
  •  旧时难觅i
    2021-01-31 05:16

    I guess this is more of a poll, so I'll say the column approach (option 2). However it will depend on how often your config changes, how dynamic it is, and how much data there is, etc.

    I'd certainly use this approach for user configurations / preferences, etc.

提交回复
热议问题