TP-55555|release model

This commit is contained in:
podili-varshitha_navi
2024-07-31 14:00:25 +05:30
parent 18b42972a6
commit ff35c1baa3
2 changed files with 6 additions and 10 deletions

View File

@@ -1,9 +0,0 @@
package db
import "gorm.io/gorm"
type Release struct {
gorm.Model
ProjectReferenceId string `gorm:"primaryKey"`
ReleaseVersion string `gorm:"column:name"`
}

View File

@@ -1,9 +1,14 @@
package db
import "gorm.io/gorm"
import (
"github.com/google/uuid"
"gorm.io/gorm"
)
type Release struct {
gorm.Model
ReleaseId uuid.UUID
ProjectReferenceId string `gorm:"primaryKey"`
ReleaseVersion string `gorm:"column:name"`
SourceMapUrl string
}