Skip to content

Update model Generator#477

Draft
WinterSilence wants to merge 8 commits intoyiisoft:masterfrom
WinterSilence:patch-9
Draft

Update model Generator#477
WinterSilence wants to merge 8 commits intoyiisoft:masterfrom
WinterSilence:patch-9

Conversation

@WinterSilence
Copy link
Copy Markdown
Contributor

  • generateTableName(): table name always wrapped in {{ }} to escape table names similar to SQL keywords
  • generateRules(): add 'default' rule
  • add additional checks "db connection not null"
Q A
Is bugfix? yes
New feature? yes
Breaks BC? yes/no
Tests pass? yes
Fixed issues

- `generateTableName()`:  table name always wrapped in `{{ }}` to escape table names similar to SQL keywords
- `generateRules()`: add 'default' rule
- add additional checks "db connection not null"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant