Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xml-schema
Project
Project
Details
Activity
Releases
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
logwire-public
xml-schema
Commits
725a65ce
Commit
725a65ce
authored
Jun 21, 2022
by
dhc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
允许model列有otherModel属性
parent
820175d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
field-type.xsd
web/field-type.xsd
+6
-1
No files found.
web/field-type.xsd
View file @
725a65ce
...
...
@@ -53,7 +53,7 @@
<xs:complexType
name=
"baseField"
>
<xs:complexContent>
<xs:extension
base=
"field"
>
<xs:attribute
name=
"primaryKey"
type=
"xs:boolean"
>
<xs:attribute
name=
"primaryKey"
type=
"xs:boolean"
default=
"false"
>
<xs:annotation>
<xs:documentation>
是否主键
</xs:documentation>
</xs:annotation>
...
...
@@ -127,6 +127,11 @@
<xs:complexType
name=
"foreignKeyField"
>
<xs:complexContent>
<xs:extension
base=
"baseField"
>
<xs:attribute
name=
"deleteRelated"
type=
"xs:boolean"
default=
"true"
>
<xs:annotation>
<xs:documentation>
删除时是否检查关联表
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute
name=
"otherModel"
type=
"xs:string"
>
<xs:annotation>
<xs:documentation>
引用的model名称
</xs:documentation>
...
...
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