adicionado comentários
This commit is contained in:
parent
e8ca410b94
commit
e796b29e1d
8 changed files with 875 additions and 13 deletions
|
|
@ -45,6 +45,10 @@ func main() {
|
|||
if err := db.EnsurePgcrypto(ctx, pool); err != nil {
|
||||
log.Fatalf("ensure pgcrypto: %v", err)
|
||||
}
|
||||
// Tabelas globais do painel (comentários/status) — criação defensiva.
|
||||
if err := db.EnsurePainelTables(ctx, pool); err != nil {
|
||||
log.Fatalf("ensure painel tables: %v", err)
|
||||
}
|
||||
|
||||
r := chi.NewRouter()
|
||||
r.Use(middleware.RequestID)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue