dotnetcore / dotnetcore/sharding-core
关于UseAutoTryCompensateTable()方法的一些建议
Open
- Dominant language
- C#
- Stars
- 1.3k
- Forks
- 183
- Avg merge
- 7h 43m
- Merged PRs (30d)
- 1
Description
1、在开发阶段可能会经常更改数据表结构,但是UseAutoTryCompensateTable方法中使用了dbContext.Database.EnsureCreated();这个只能在空数据库中才有效,中途修改model后将无任何作用。
2、UseAutoTryCompensateTable方法中CreateDataTable方法,如果中途修改了model属性,并不会更新数据库
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.