Skip to content

Commit fd22bf3

Browse files
authored
Merge pull request #72 from Bidaya0/feature-add-licence-and-change-server-command-field-type
feature: add license and change server.command fieldtype
2 parents 2b51383 + fc5ed13 commit fd22bf3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

dongtai/models/sca_maven_db.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ class ScaMavenDb(models.Model):
1515
sha_1 = models.CharField(unique=True, max_length=255, blank=True, null=True)
1616
package_name = models.CharField(max_length=255, blank=True, null=True)
1717
aql = models.CharField(max_length=255, blank=True, null=True)
18+
license = models.CharField(max_length=255, blank=True, null=True)
1819

1920
class Meta:
2021
managed = get_managed()

dongtai/models/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class IastServer(models.Model):
1717
status = models.CharField(max_length=255, blank=True, null=True)
1818
container = models.CharField(max_length=255, blank=True, null=True)
1919
container_path = models.CharField(max_length=255, blank=True, null=True)
20-
command = models.CharField(max_length=255, blank=True, null=True)
20+
command = models.TextField(blank=True, null=True)
2121
env = models.CharField(max_length=255, blank=True, null=True)
2222
runtime = models.CharField(max_length=255, blank=True, null=True)
2323
create_time = models.IntegerField(blank=True, null=True)

0 commit comments

Comments
 (0)