aurganize-backend/infrastructure/docker/init-scripts
Rezon Philip 9559607fe0 feat(tenant): Add full tenant & user onboarding pipeline with routing + integration
This update adds complete tenant management to the backend:
- Added tenant models, repositories, services, and handlers
- Added user registration flow that creates tenant + user in a transaction
- Added tenant retrieval endpoints (GetTenant, GetMyTenant)
- Configured new routes and integrated handlers into SetUpRoutes
- Wired repositories, services, and handlers into main.go
- Implemented slug generation, validation, and transactional creation logic

Includes updates across:
- models (tenants)
- repositories (tenant_repository)
- services (tenant_service)
- handlers (tenant_handler, user_handler)
- routes and main.go for full system integration
2025-12-11 02:12:24 +05:30
..
01-create-users.sql chore(postgres_db): Add full PostgreSQL tooling (migrations, seeds, backup, restore, health-check) 2025-12-03 00:39:34 +05:30
02-create-databases.sql chore(postgres_db): Add full PostgreSQL tooling (migrations, seeds, backup, restore, health-check) 2025-12-03 00:39:34 +05:30
03-install-extenstions.sql chore(postgres_db): Add full PostgreSQL tooling (migrations, seeds, backup, restore, health-check) 2025-12-03 00:39:34 +05:30
04-setup-rls.sql chore(postgres_db): Add full PostgreSQL tooling (migrations, seeds, backup, restore, health-check) 2025-12-03 00:39:34 +05:30
05-test-rls.sql chore(postgres_db): Add full PostgreSQL tooling (migrations, seeds, backup, restore, health-check) 2025-12-03 00:39:34 +05:30
06-grant-bypassrls.sql feat(tenant): Add full tenant & user onboarding pipeline with routing + integration 2025-12-11 02:12:24 +05:30