mediawiki-extensions-Discus.../tests/cases/ThreadItemStore/7identical-rev-timestamp/discussiontools_item_revisions.json
Bartosz Dziewoński c4c455c550 ThreadItemStore: Update existing rows if possible rather than insert+delete
Bug: T321121
Change-Id: I678b093aef95febb33cf4b0140b0625ef3241779
2022-11-03 00:53:19 +01:00

113 lines
2.1 KiB
JSON

[
{
"itr_id": "1",
"itr_itemid_id": "1",
"itr_revision_id": "2",
"itr_items_id": "1",
"itr_parent_id": null,
"itr_transcludedfrom": null,
"itr_level": "0",
"itr_headinglevel": "2"
},
{
"itr_id": "2",
"itr_itemid_id": "2",
"itr_revision_id": "2",
"itr_items_id": "2",
"itr_parent_id": "1",
"itr_transcludedfrom": null,
"itr_level": "1",
"itr_headinglevel": null
},
{
"itr_id": "3",
"itr_itemid_id": "3",
"itr_revision_id": "2",
"itr_items_id": "3",
"itr_parent_id": null,
"itr_transcludedfrom": null,
"itr_level": "0",
"itr_headinglevel": "2"
},
{
"itr_id": "4",
"itr_itemid_id": "4",
"itr_revision_id": "2",
"itr_items_id": "4",
"itr_parent_id": "3",
"itr_transcludedfrom": null,
"itr_level": "1",
"itr_headinglevel": null
},
{
"itr_id": "7",
"itr_itemid_id": "5",
"itr_revision_id": "3",
"itr_items_id": "5",
"itr_parent_id": "6",
"itr_transcludedfrom": null,
"itr_level": "2",
"itr_headinglevel": null
},
{
"itr_id": "5",
"itr_itemid_id": "1",
"itr_revision_id": "4",
"itr_items_id": "1",
"itr_parent_id": null,
"itr_transcludedfrom": null,
"itr_level": "0",
"itr_headinglevel": "2"
},
{
"itr_id": "6",
"itr_itemid_id": "2",
"itr_revision_id": "4",
"itr_items_id": "2",
"itr_parent_id": "5",
"itr_transcludedfrom": null,
"itr_level": "1",
"itr_headinglevel": null
},
{
"itr_id": "8",
"itr_itemid_id": "3",
"itr_revision_id": "4",
"itr_items_id": "3",
"itr_parent_id": null,
"itr_transcludedfrom": null,
"itr_level": "0",
"itr_headinglevel": "2"
},
{
"itr_id": "9",
"itr_itemid_id": "4",
"itr_revision_id": "4",
"itr_items_id": "4",
"itr_parent_id": "8",
"itr_transcludedfrom": null,
"itr_level": "1",
"itr_headinglevel": null
},
{
"itr_id": "10",
"itr_itemid_id": "5",
"itr_revision_id": "4",
"itr_items_id": "5",
"itr_parent_id": "6",
"itr_transcludedfrom": null,
"itr_level": "2",
"itr_headinglevel": null
},
{
"itr_id": "11",
"itr_itemid_id": "6",
"itr_revision_id": "4",
"itr_items_id": "6",
"itr_parent_id": "9",
"itr_transcludedfrom": null,
"itr_level": "2",
"itr_headinglevel": null
}
]