Rename project from imc-vibe to imc

- Binary name: imc-vibe -> imc
- Go module: github.com/imc-vibe/backend -> github.com/imc/backend
- JWT issuer: imc-vibe -> imc
- UI labels: IMC Vibe -> IMC
- Update all imports and comments
This commit is contained in:
Christoph Haas 2026-03-24 23:42:37 +01:00
parent a4c6b04b37
commit ff52be8adf
19 changed files with 52 additions and 40 deletions

View file

@ -1,4 +1,4 @@
// Package db provides database access for the imc-vibe application.
// Package db provides database access for the IMC application.
// It uses GORM (Go ORM) for database operations.
//
// The database contains two sets of tables:
@ -14,7 +14,7 @@ import (
"gorm.io/gorm" // GORM ORM library
"gorm.io/gorm/logger" // GORM logger configuration
"github.com/imc-vibe/backend/internal/config" // configuration
"github.com/imc/backend/internal/config" // configuration
)
// DB wraps GORM's database connection with helper methods.
@ -70,7 +70,7 @@ type Alias struct {
func (Alias) TableName() string { return "virtual_aliases" }
// =============================================================================
// imc-vibe Application Models (tables created by this app)
// IMC Application Models (tables created by this app)
// =============================================================================
// ImcUser represents an admin user who can log into this application.
@ -190,7 +190,7 @@ func Connect(cfg *config.Config) (*DB, error) {
return &DB{db}, nil
}
// InitSchema creates imc-vibe's database tables if they don't exist.
// InitSchema creates IMC's database tables if they don't exist.
// This only creates the imc_* tables, not the ISPmail virtual_* tables.
// Called during application startup.
func (d *DB) InitSchema() error {