Skip to content

Commit

Permalink
fix: set user_id default value (#1593)
Browse files Browse the repository at this point in the history
Signed-off-by: Qi Zhang <[email protected]>
  • Loading branch information
zzzhangqi authored Dec 31, 2024
1 parent d138c28 commit 8ab6890
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion console/models/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -977,7 +977,7 @@ class Meta:
is_console = models.NullBooleanField(null=True, default=False, help_text="is_console")
is_auto_login = models.NullBooleanField(null=True, default=False, help_text="is_auto_login")
is_git = models.BooleanField(default=True, help_text="是否为git仓库")
user_id = models.IntegerField(max_length=10, help_text="用户ID")
user_id = models.IntegerField(max_length=10, help_text="用户ID", default=0)
system = models.BooleanField(default=False, help_text="是否后台创建")


Expand Down

0 comments on commit 8ab6890

Please sign in to comment.