Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
beego
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
beego
Commits
f8675832
Unverified
Commit
f8675832
authored
Dec 18, 2018
by
astaxie
Committed by
GitHub
Dec 18, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3433 from DennisMao/FixOrmDescriptionTag
Fix Issue #3337
parents
98dfb92e
bf468c8d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
models_info_f.go
orm/models_info_f.go
+1
-1
models_utils.go
orm/models_utils.go
+1
-0
No files found.
orm/models_info_f.go
View file @
f8675832
...
...
@@ -301,7 +301,7 @@ checkType:
fi
.
sf
=
sf
fi
.
fullName
=
mi
.
fullName
+
mName
+
"."
+
sf
.
Name
fi
.
description
=
sf
.
Tag
.
Get
(
"description"
)
fi
.
description
=
tags
[
"description"
]
fi
.
null
=
attrs
[
"null"
]
fi
.
index
=
attrs
[
"index"
]
fi
.
auto
=
attrs
[
"auto"
]
...
...
orm/models_utils.go
View file @
f8675832
...
...
@@ -44,6 +44,7 @@ var supportTag = map[string]int{
"decimals"
:
2
,
"on_delete"
:
2
,
"type"
:
2
,
"description"
:
2
,
}
// get reflect.Type name with package path.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment