Merge pull request #10 from navi-ppl/Tp-55555/release

TP-55555|release model
This commit is contained in:
Podili Varshitha
2024-07-31 14:02:50 +05:30
committed by GitHub
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
}