Repository navigation
[#86] - make:model with a list of schemas: the minors of the review - #114
Merged
Merged
Conversation
…Note of a table of another schema, a name in another case, the clash message for a table with a line, and the docblocks Assisted-by: Claude Code
…ema, a name in another case, and a table with a line in the clash message Assisted-by: Claude Code
Assisted-by: Claude Code
… and one condition Assisted-by: Claude Code
…h lower_case_table_names 2 gives it Assisted-by: Claude Code
This comment has been minimized.
This comment has been minimized.
Code Metrics Report
Details | | master (7e623ba) | #114 (088f22d) | +/- |
|---------------------|------------------|----------------|-------|
+ | Coverage | 99.8% | 99.8% | +0.0% |
| Files | 97 | 97 | 0 |
| Lines | 4034 | 4203 | +169 |
+ | Covered | 4027 | 4196 | +169 |
- | Test Execution Time | 11s | 12s | +1s |Code coverage of files in pull request scope (100.0% → 100.0%, patch 100.0%)
Reported by octocov |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hello!
In raising this pull request, I confirm the following:
composer test,composer csandcomposer analyzeall passThe four minors of the review of #86 (PR #112). Stacked on #16 (
T16-internal-config).Noteline of the old files ([NFR]: Show the model names: config:show and the old files of a renamed class #71): a table of another schema that gets a new class frommodels.classesgave noNoteline, becauseoldFiles()made the default class from the name with its schema. It now usestableOf(). A table of the default schema that has the default class still gives no line.make:model billing.Paymentsgave a false clash with the listedbilling.payments. On MySQL withlower_case_table_names1 or 2, it is the same table. When the name of the call is not listed, a listed name that differs only in case is that table, and the clash message names the listed name. When the name is listed, a name in another case is another table (PostgreSQL), and the clash stays. On a server that keeps the case, a case typo now gives "not found", not a clash.models.classeskeeps its class, as the table of the default schema does, so the message does not tell you to add a line for it.ModelCommand,ModelTablesandModelRelations::keyAlias().Tests: unit,
ModelCommandSchemaSqliteTest(theNoteline, on the SQLite test adapter), andModelCommandSchemasTeston MySQL, MariaDB and PostgreSQL (a name in another case; noNoteline for the base of the default table). Infection on the changed lines: MSI 100%.Thanks