Replies: 2 comments 3 replies
-
To me a config file is good for updating in a text editor. For Databag, the admin configuration can be set from a web frontend (through the go backend). Given this, is there an advantage to having a config file? |
Beta Was this translation helpful? Give feedback.
-
Using a config file is fine with me. If it makes things easier for people with other configurations, then I'm all for it. I really appreciate your changes adding support for PostgresSQL! I'm sure to merge your changes when you do a PR, but could you also include some documentation / instructions on setup. I have some minor concerns around database behavior that we may need to account for. For example with sqlite, when I would delete a record, and then insert a record, it would reuse the deleted record's ID even though it supposed to auto-increment, creating unexpected problems. If they exist, hopefully your setup will reveal any of these types of DB specific issues. |
Beta Was this translation helpful? Give feedback.
-
Hi
I am currently thinking about adding support for other databases as it should be easy to implement with GORM.
I love how the backend codebase is setup, but one thing is a bit confusing. Do you have a specific reason on why you store the configuration within the database instead of using a config file?
If you agree, I would also implement dynamic configuration with config file and env configuration support.
Thanks for letting me know
Beta Was this translation helpful? Give feedback.
All reactions