Wiki source code of XWiki Rcs (xwikircs)

Last modified by Thomas Mortagne on 2025/02/18

Show last authors
1 Table used to store the history of pages.
2
3 {{version since="17.1.0"}}
4 The full history content is stored. XWiki used to store diff, and only every 5 versions a full content, but we decided that the cration of the diff was too expensive for too little benefit.
5
6 To compensate, the xwikirsc table is now:
7 * COMPRESSED by default in MySQL/MariaDB
8 * for Oracle is possible to enable the compression using the `xwiki.compressionAllowed` property in the hibernate.cfg.xml using {{code language="xml"}}<property name="xwiki.compressionAllowed">true</property>{{/code}}
9 {{/version}}
10
11 {{velocity}}
12 |=(% colspan='8'%)xwikircs(%%)
13 |= |=Column Name |=Datatype |=Not null |=auto inc |=flags |=Default value |=Comments
14 |$services.icon.render('key')|XWR_DOCID|BIGINT(20) |$services.icon.render('check') | | |0|
15 |$services.icon.render('key')|XWR_VERSION1|INTEGER |$services.icon.render('check') | | |0|
16 |$services.icon.render('key')|XWR_VERSION2|INTEGER |$services.icon.render('check') | | |0|
17 ||XWR_DATE|DATETIME |$services.icon.render('check') | | |0000-00-00 00:00:00|
18 ||XWR_COMMENT|TEXT |$services.icon.render('check') | | ||
19 ||XWR_AUTHOR|VARCHAR(255) |$services.icon.render('check') | | ||
20 ||XWR_ISDIFF|BIT | | | |null|
21 ||XWR_PATCH|LONGTEXT| | | |null|
22 {{/velocity}}

Get Connected