feat: init repo
This commit is contained in:
4
templates/project/database/-transform.yaml.tpl
Executable file
4
templates/project/database/-transform.yaml.tpl
Executable file
@@ -0,0 +1,4 @@
|
||||
ignores: [] # ignore tables
|
||||
types:
|
||||
users: # table name
|
||||
oauth: backend/pkg/pg.UserOAuth
|
||||
8
templates/project/database/database.go.tpl
Normal file
8
templates/project/database/database.go.tpl
Normal file
@@ -0,0 +1,8 @@
|
||||
package database
|
||||
|
||||
import (
|
||||
"embed"
|
||||
)
|
||||
|
||||
//go:embed migrations/*
|
||||
var MigrationFS embed.FS
|
||||
0
templates/project/database/migrations/-gitkeep
Normal file
0
templates/project/database/migrations/-gitkeep
Normal file
0
templates/project/database/models/-gitkeep.tpl
Normal file
0
templates/project/database/models/-gitkeep.tpl
Normal file
Reference in New Issue
Block a user