dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22280a1
)
Add ar_id and el_id sequences for PostgreSQL
author
saper
<saper@saper.info>
Mon, 28 Oct 2013 22:08:52 +0000
(23:08 +0100)
committer
PleaseStand
<pleasestand@live.com>
Mon, 28 Oct 2013 22:32:07 +0000
(22:32 +0000)
PostgreSQL needs sequences created before nextval
is used as the default value, populating newly
created fields.
Followup to: Ib6b0fc3736d173fa4ba7b786ecfc710b2f4711bb
Bug: 15441
Bug: 39675
Bug: 56185
Change-Id: Ia21d5bddead257a33a13e3ff2ec508041843613b
includes/installer/PostgresUpdater.php
patch
|
blob
|
history
diff --git
a/includes/installer/PostgresUpdater.php
b/includes/installer/PostgresUpdater.php
index
32e7510
..
cea4d78
100644
(file)
--- a/
includes/installer/PostgresUpdater.php
+++ b/
includes/installer/PostgresUpdater.php
@@
-66,6
+66,8
@@
class PostgresUpdater extends DatabaseUpdater {
array( 'addSequence', 'logging', false, 'logging_log_id_seq' ),
array( 'addSequence', 'page_restrictions', false, 'page_restrictions_pr_id_seq' ),
array( 'addSequence', 'filearchive', 'fa_id', 'filearchive_fa_id_seq' ),
+ array( 'addSequence', 'archive', false, 'archive_ar_id_seq' ),
+ array( 'addSequence', 'externallinks', false, 'externallinks_el_id_seq' ),
# new tables
array( 'addTable', 'category', 'patch-category.sql' ),