Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] 3.19版本初始化过,修改配置文件之后,怎么才能生效? #1137

Open
Eileen2014 opened this issue Nov 14, 2024 · 4 comments

Comments

@Eileen2014
Copy link

描述问题
清晰而简洁地描述你遇到的问题
版本初始化过,修改配置文件之后,怎么才能生效?
一定要把这个库中所有的表都删除了吗,但是我新建了很多用户,这样不就全部都要重新建立

image

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Title: [Question] Version 3.19 has been initialized. How can it take effect after modifying the configuration file?

Describe the problem
Clearly and concisely describe the problem you encountered
After the version is initialized, how can it take effect after modifying the configuration file?
Do I have to delete all the tables in this library? But I have created a lot of new users, so they all have to be re-established.

image

Copy link

dosubot bot commented Nov 14, 2024

在 Yearning 3.19 中,您可以在不删除现有表的情况下刷新或重新加载配置设置。可以使用 SuperSaveSetting 函数来更新配置。此函数会将新的配置数据绑定到 CoreGlobalConfiguration 模型,并使用 Updates 方法将更改应用到现有记录,而不会影响数据库中的现有表 [1]

To continue talking to Dosu, mention @dosu.

@Eileen2014
Copy link
Author

重新加载配置设置的意思是重新启动服务就会自动加载最新的配置文件吗?

./Yearning run
这个命令吗?

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Does reloading configuration settings mean that restarting the service will automatically load the latest configuration file?

./Yearning run
Is this an order?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants