Commit 1ae36710 by lyh3024

Merge branch 'develop' into 'master'

Develop

See merge request lyh3024/knowledge_graph!20
parents bc133f38 ade59eeb
...@@ -4,3 +4,4 @@ from django.apps import AppConfig ...@@ -4,3 +4,4 @@ from django.apps import AppConfig
class ScriptConfig(AppConfig): class ScriptConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField' default_auto_field = 'django.db.models.BigAutoField'
name = 'script' name = 'script'
from django.db import models from django.db import models
# Create your models here. # 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()
# 余下表结构待补充
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment