0

What naming conventions does CI Wiz expect for database tables?

Does CI Wiz require any specific naming convention for tables, like snake_case or plural names? Will it break if I have mixed conventions?
Posee par Inconnu Jan 18, 2026 90 vues

1 reponse

0
✓ Acceptee
CI Wiz has no hard naming convention requirements — it reads whatever table and column names are in your schema. That said, the generated code works best when you follow standard conventions: - Snake_case for table names and column names (e.g. `user_profiles`, `created_at`) - Singular or plural table names both work; CI Wiz does not pluralize automatically - Primary key named `id` (the default CI4 model assumption) - Timestamps named `created_at` and `updated_at` if you want the model to handle them automatically If your schema deviates significantly from these, the generated models will still be created but you may need to override some model properties manually.
Repondu par cantonner Jan 18, 2026

Veuillez vous connecter pour publier une reponse. vous connecter