TP-55555 | crud ingestor (#2)

* TP-55555 | crud ingestor

* TP-55555 | Project handler (#4)

---------

Co-authored-by: Lokesh Dugar <lokesh.dugar@navi.com>
This commit is contained in:
Varnit Goyal
2024-07-24 12:51:37 +05:30
committed by GitHub
parent 310d5ba38e
commit f75297880d
12 changed files with 164 additions and 8 deletions

View File

@@ -0,0 +1,11 @@
package database
import (
"cybertron/models/db"
"gorm.io/gorm"
)
func InitProjectRepository(dbClient *gorm.DB) *gorm.DB {
dbClient.AutoMigrate(&db.Project{})
return dbClient
}