Fix bug of sqlite modify column

This commit is contained in:
Lunny Xiao 2021-01-05 10:55:03 +08:00
parent bf55bb8218
commit 33ff3df03f
No known key found for this signature in database
GPG Key ID: C3B7C91B632F738A
1 changed files with 4 additions and 0 deletions

View File

@ -399,6 +399,10 @@ func TestSync2_Default(t *testing.T) {
}
func TestModifyColum(t *testing.T) {
// Since SQLITE don't support modify column SQL, currrently just ignore
if testEngine.Dialect().URI().DBType == schemas.SQLITE {
return
}
type TestModifyColumn struct {
Id int64
UserId int64 `xorm:"default(1)"`