projects: add tracker_url and project create modal

This commit is contained in:
Mikhail Chusavitin
2026-02-06 16:42:32 +03:00
parent 8a8ea10dc2
commit 2f0ac2f6d2
11 changed files with 233 additions and 23 deletions

View File

@@ -7,6 +7,7 @@ type Project struct {
UUID string `gorm:"size:36;uniqueIndex;not null" json:"uuid"`
OwnerUsername string `gorm:"size:100;not null;index" json:"owner_username"`
Name string `gorm:"size:200;not null" json:"name"`
TrackerURL string `gorm:"size:500" json:"tracker_url"`
IsActive bool `gorm:"default:true;index" json:"is_active"`
IsSystem bool `gorm:"default:false;index" json:"is_system"`
CreatedAt time.Time `gorm:"autoCreateTime" json:"created_at"`