package db import ( "github.com/lib/pq" "time" ) type Project struct { ID int `json:"id" gorm:"autoIncrement:true"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` DeletedAt time.Time `json:"deletedAt"` ProjectReferenceId string `json:"projectReferenceId" gorm:"primaryKey"` Name string `json:"name" gorm:"unique"` Team string `json:"team"` Icon string `json:"icon"` GithubUrl string `json:"githubUrl"` Secret string `json:"secret"` IgnorePatterns pq.StringArray `gorm:"type:text[]"` Account string `json:"account"` }