TP-5555 | account provision
This commit is contained in:
@@ -1,18 +1,21 @@
|
||||
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"`
|
||||
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"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user