package entity

import "time"

type ProjectCanary struct {
	ProjectID uint64    `gorm:"primaryKey;not null"                          json:"project_id" yaml:"project_id"`
	CreatedAt time.Time `gorm:"created_at;type:TIMESTAMP;not null;<-:create"` // create and read only
}

func (p *ProjectCanary) TableName() string {
	return "project_canaries"
}
