TP-78265 | collection np access aman singh

This commit is contained in:
varnit goyal
2024-10-10 13:30:01 +05:30
parent fd132b9b1d
commit 0fab8ab99c
5 changed files with 32 additions and 31 deletions

View File

@@ -16,6 +16,7 @@ func RunDatabaseMigrations() error {
var err error
postgresConfig := configs.GetPostgresMigConfig()
appMigrate, err := migrate.New("file://"+dbMigrationsPath, postgresConfig.GetPostgresUrl())
if err != nil {
log.Log.GetLog().Error("migrations error", zap.Error(err))
panic(err)

View File

@@ -1 +1 @@
create database cybertron_dev;
create database cybertron_dev;