Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
knowledge_graph
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
Sun Long
knowledge_graph
Commits
ade59eeb
Commit
ade59eeb
authored
Jun 16, 2022
by
lyh3024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
Change-Id: I333d8ba02f710ed08fdae4cc58be9f7cef38f5c0
parent
e83168ac
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
models.py
script/models.py
+17
-0
No files found.
script/models.py
View file @
ade59eeb
from
django.db
import
models
# Create your models here.
class
Route
(
models
.
Model
):
id
=
models
.
CharField
()
index
=
models
.
CharField
()
ip
=
models
.
CharField
()
nextip
=
models
.
CharField
()
country
=
models
.
CharField
()
province
=
models
.
CharField
()
city
=
models
.
CharField
()
isp
=
models
.
CharField
()
root_ip
=
models
.
CharField
()
first_ip
=
models
.
CharField
()
type
=
models
.
IntegerField
()
time
=
models
.
TimeField
()
# 余下表结构待补充
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