Closed (fixed)
Project:
Drupal core
Version:
11.x-dev
Component:
database system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
28 Jun 2021 at 14:44 UTC
Updated:
13 Apr 2024 at 08:56 UTC
Jump to comment: Most recent
Comments
Comment #2
daffie commentedI think the method should be marked as internal as it is being called from the Connection and the Schema class.
Edit: The call from the Connection class is in the to be deprecated method
nextId(). Let do a protected method in the Schema class.Comment #7
mondrakeComment #9
mondrakeDeprecated Drupal\Core\Database\Connection::makeSequenceName() which has no longer purpose with ::nextId() being deprecated too. It's needed by the PostgreSql driver, so added a method specific to pgsql's Connection. That needs to be public because other classes within the pgsql driver need to call it.
Comment #10
longwaveWhy do we need to rename the method? We could just copy it to the Postgres driver and trigger a deprecation for it in the base class?
Comment #11
daffie commentedComment #12
mondrakeRe. CR, how about just making an addition to https://www.drupal.org/node/3349345 ?
Comment #13
daffie commented@mondrake: You can make an addition to that CR or create a new one. I think we should also have deprecation message test.
Comment #14
mondrakeAdded draft CR https://www.drupal.org/node/3377046
Comment #15
mondrakeComment #16
daffie commentedAll my points have been addressed.
All code changes look good to me.
The IS and the CR are in order.
For me it is RTBC.
Comment #17
longwaveCommitted 4365ab3 and pushed to 11.x. Thanks!
Also published the change record.