Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以diesel在运行时监听和更改其架构?例如,如果在运行时添加表,我们可以table!在程序启动后检测更改并使用宏创建适当的表吗?
diesel
table!
不,架构是在编译时确定的。迁移数据库后,您需要重新编译应用程序。