When using oil's code generation feature, the --singular option takes effect only when the --crud option is specified. If --singular is used without --crud, the table name override is missing from the model class and therefore the application looks for a table with the plural name.
When using oil's code generation feature, the --singular option takes effect only when the --crud option is specified. If --singular is used without --crud, the table name override is missing from the model class and therefore the application looks for a table with the plural name.