As discussed in https://gerrit.wikimedia.org/r/#/c/406595/14/includes/Storage/RevisionStore.php@473 rev_text_id currently has no default, so inserts will fail if no value is set.
After the MCR migration we don't want to have to worry about inserting anything into this field, but for now we will have to keep inserting 0.
A schema change adding a default will allow us to stop explicitly inserting this.
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Add default for revision.rev_text_id where missing | mediawiki/core | master | +78 -2 |
Status | Subtype | Assigned | Task | |
---|---|---|---|---|
· · · | ||||
Resolved | daniel | T174024 Implement MCR revision retrieval interface | ||
Resolved | Addshore | T188741 MCR Scheme change - Make rev_text_id DEFAULT 0 | ||
Resolved | Marostegui | T190148 Change DEFAULT 0 for rev_text_id on production DBs | ||
· · · |
Event Timeline
Comment Actions
Change 418946 had a related patch set uploaded (by Addshore; owner: Addshore):
[mediawiki/core@master] WIP DNM: Add default for revision.rev_text_id of 0
Comment Actions
Change 418946 merged by jenkins-bot:
[mediawiki/core@master] Add default for revision.rev_text_id where missing