Index: trunk/phase3/maintenance/postgres/archives/patch-msg_resource.sql |
— | — | @@ -0,0 +1,8 @@ |
| 2 | +CREATE TABLE msg_resource ( |
| 3 | + mr_resource TEXT NOT NULL, |
| 4 | + mr_lang TEXT NOT NULL, |
| 5 | + mr_blob TEXT NOT NULL, |
| 6 | + mr_timestamp TIMESTAMPTZ NOT NULL |
| 7 | +); |
| 8 | + |
| 9 | +CREATE UNIQUE INDEX mr_resource_lang_idx ON msg_resource (mr_resource, mr_lang); |
Property changes on: trunk/phase3/maintenance/postgres/archives/patch-msg_resource.sql |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 10 | + native |
Index: trunk/phase3/maintenance/postgres/archives/patch-msg_resource_links.sql |
— | — | @@ -0,0 +1,6 @@ |
| 2 | +CREATE TABLE msg_resource_links ( |
| 3 | + mrl_resource TEXT NOT NULL, |
| 4 | + mrl_message TEXT NOT NULL |
| 5 | +); |
| 6 | + |
| 7 | +CREATE UNIQUE INDEX mrl_message_resource_idx ON msg_resource_links (mrl_message, mrl_resource); |
Property changes on: trunk/phase3/maintenance/postgres/archives/patch-msg_resource_links.sql |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 8 | + native |
Index: trunk/phase3/includes/installer/PostgresUpdater.php |
— | — | @@ -55,6 +55,8 @@ |
56 | 56 | array( 'addTable', 'log_search', 'patch-log_search.sql' ), |
57 | 57 | array( 'addTable', 'l10n_cache', 'patch-l10n_cache.sql' ), |
58 | 58 | array( 'addTable', 'iwlinks', 'patch-iwlinks.sql' ), |
| 59 | + array( 'addTable', 'msg_resource', 'patch-msg_resource.sql' ), |
| 60 | + array( 'addTable', 'msg_resource_links','patch-msg_resource_links.sql' ), |
59 | 61 | |
60 | 62 | # Needed before new field |
61 | 63 | array( 'convertArchive2' ), |