Skip to content

Commit ab887b3

Browse files
authored
Merge branch 'main' into foldable-folders
2 parents df1cdcc + d4a9b35 commit ab887b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/migrations/v1_19/v241.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
// AddCardTypeToProjectTable: add CardType column, setting existing rows to CardTypeTextOnly
1111
func AddCardTypeToProjectTable(x *xorm.Engine) error {
1212
type Project struct {
13-
CardType int `xorm:"NOT NULL"`
13+
CardType int `xorm:"NOT NULL DEFAULT 0"`
1414
}
1515

1616
return x.Sync(new(Project))

0 commit comments

Comments
 (0)