Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue_django_test
Overview
Overview
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
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
周田
vue_django_test
Commits
c20c9ad6
Commit
c20c9ad6
authored
Aug 18, 2023
by
周田
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mod:额外增加的表添加注释
parent
1b00db1a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
models.py
protocol_version_manage/models.py
+12
-0
No files found.
protocol_version_manage/models.py
View file @
c20c9ad6
...
@@ -27,6 +27,11 @@ class AllDevCmdDefineAndVersion(models.Model):
...
@@ -27,6 +27,11 @@ class AllDevCmdDefineAndVersion(models.Model):
class
AllProtocolDefinAndVersion
(
models
.
Model
):
class
AllProtocolDefinAndVersion
(
models
.
Model
):
"""
version 格式
版本号的列表
["20230708", "20230709", "20230710"]
"""
id
=
models
.
AutoField
(
primary_key
=
True
)
# Field name made lowercase.
id
=
models
.
AutoField
(
primary_key
=
True
)
# Field name made lowercase.
protocol_name
=
models
.
TextField
()
# Field name made lowercase.
protocol_name
=
models
.
TextField
()
# Field name made lowercase.
cmd_name
=
models
.
TextField
()
# Field name made lowercase.
cmd_name
=
models
.
TextField
()
# Field name made lowercase.
...
@@ -50,6 +55,13 @@ class CurrentDevVersion(models.Model):
...
@@ -50,6 +55,13 @@ class CurrentDevVersion(models.Model):
class
AllProtocolVersion
(
models
.
Model
):
class
AllProtocolVersion
(
models
.
Model
):
"""
versions_path 格式
版本号:版本原始文件所在的路径
{
"20240229": "path/to/file",
}
"""
id
=
models
.
AutoField
(
primary_key
=
True
)
id
=
models
.
AutoField
(
primary_key
=
True
)
protocol_name
=
models
.
TextField
()
protocol_name
=
models
.
TextField
()
vesrions_path
=
models
.
TextField
()
vesrions_path
=
models
.
TextField
()
...
...
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