Skip to content

Commit

Permalink
fix: change CreateSchemaForTenant log info
Browse files Browse the repository at this point in the history
  • Loading branch information
bartventer authored Feb 10, 2024
1 parent acc4657 commit b6efb4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/postgres/migrator.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func (m *Migrator) CreateSchemaForTenant(tenant string) error {
AutoMigrate(m.tenantModels...); err != nil {
return err
}
fmt.Printf("[multitenancy] ✅ private tables migrated for tenant %s", tenant)
fmt.Printf("[multitenancy] ✅ private tables migrated for tenant %s\n", tenant)

// prevent this connection to be reutilized with wrong tenant
if err := setSearchPath(tx, PublicSchemaName); err != nil {
Expand Down

0 comments on commit b6efb4d

Please sign in to comment.