modified: yalarba/serv_golang_rest_api/internal/models/o_auth_provider.go

deleted:    yalarba/serv_golang_rest_api/main.exe
	modified:   yalarba/serv_golang_rest_api/pkg/database/postgres.go
check auth, login, register on golang rest api
This commit is contained in:
2025-10-05 02:00:50 +05:00
parent 65931f5b08
commit 477ea72b1e
3 changed files with 14 additions and 9 deletions
@@ -47,6 +47,7 @@ func autoMigrate(db *gorm.DB) error {
// Или используйте автоматические миграции GORM
return db.AutoMigrate(
&models.User{},
&models.OAuthProvider{},
// другие модели...
)
}