From 2afa222871ad0dfa2caccc0614c99ce8b7a41107 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Thu, 29 Jul 2021 19:51:10 +0800 Subject: [PATCH] Fix deleted column (#2014) Fix #2013 Reviewed-on: https://gitea.com/xorm/xorm/pulls/2014 Co-authored-by: Lunny Xiao Co-committed-by: Lunny Xiao --- tags/parser.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tags/parser.go b/tags/parser.go index e6245a68..5f9fd528 100644 --- a/tags/parser.go +++ b/tags/parser.go @@ -300,11 +300,5 @@ func (parser *Parser) Parse(v reflect.Value) (*schemas.Table, error) { table.AddColumn(col) } // end for - deletedColumn := table.DeletedColumn() - // check columns - if deletedColumn != nil { - deletedColumn.Nullable = true - } - return table, nil }