使用sync2时,无法新增表中的字段 #1892
Labels
No Label
backport/done
backport/v1
blocked
db
oracle
db
sqlserver
duplicate
feature
cache
frontport/done
frontport/main
invalid
kind
breaking
kind
bug
kind
build
kind
dependencies
kind
docs
kind
driver
kind
enhancement
kind
feature
kind
performance
kind
proposal
kind
question
kind
refactor
kind
testing
need
feedback
need
test
proposal:accepted
RaspBerry Pi
regression
skip-changelog
upstream
wip
wontfix
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: xorm/xorm#1892
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
只能全表删除了以后再新建。
检查了一下,发现是增加 not null以后就不会自动同步,这个是不是feature啊?如果要加not null,如何设置缺省值呢?
Could you paste your example codes?
例如,我有一个表结构AbpiProject,此时在中间新增了一个AaedtProject字段,然后使用Sync2同步到数据库,但发现无法同步……如果在数据库中直接新建,则在ORM中无法读取。
Cannot reproduce this.