Repository navigation
T101 make model all no sequences partitions - #107
Merged
Merged
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
3 of 4 tasks
Base automatically changed from
T87-make-model-sqlite-foreign-keys
to
master
November 27, 2026 20:56
…rtitions in make:model --all Assisted-by: Claude Code
Assisted-by: Claude Code
niden
force-pushed
the
T101-make-model-all-no-sequences-partitions
branch
from
November 27, 2026 22:19
7343e92 to
6d34b25
Compare
This comment has been minimized.
This comment has been minimized.
Code Metrics Report
Details | | master (026e7df) | T101-make-model-all-no-sequences-partitions | +/- |
| | | (6d34b25) | |
|---------------------|------------------|---------------------------------------------|------|
| Coverage | 99.8% | 99.8% | 0.0% |
| Files | 97 | 97 | 0 |
| Lines | 4003 | 4003 | 0 |
| Covered | 3996 | 3996 | 0 |
- | Test Execution Time | 8s | 9s | +1s |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 passmake:model --allwith MariaDB sequences and PostgreSQL partitions. The fix is in Phalcon: phalcon/cphalcon#17769 (listTables()gave the sequences and the partitions as tables). It comes in cphalcon 5.24.0 andphalcon/phalcon6.0.0, and the lock of #106 has it. Crest needs no code change.Two database tests: on MariaDB, a sequence gives no name to
--all. On PostgreSQL, a partitioned table with two partitions gives one name. With cphalcon before 5.24.0, they skip (skipListTablesOnOldCphalcon()). The MySQL suite skips the sequence test: MySQL has no sequences.The clean-up of the database tests now removes a MariaDB sequence too (
table_typeSEQUENCE;DROP TABLEremoves it), and usesDROP TABLE IF EXISTS: on PostgreSQL, a partitioned table removes its partitions before their turn.The docs give the versions for the limit of the sequences and the partitions.
Stacked on #106.
Thanks