Greg Sabino Mullane
21993cbb81
Clean up whitespace, add log_search to Postgres schema.
2009-05-19 20:55:29 +00:00
Greg Sabino Mullane
c8fb6d7ef3
Handle multi-col primary keys, cleanup new tables.
2009-05-19 20:54:52 +00:00
Alexandre Emsenhuber
908c43105f
Follow-up r50567: also update PostgreSQL and SQLite schema
2009-05-15 11:34:18 +00:00
Brion Vibber
ef4849a201
Follow-up to r49803: use proper type and add an explicit foreign key reference for up_user->user_id as we have for other tables in the postgresql schema
2009-04-28 18:42:26 +00:00
Alexandre Emsenhuber
dba3ca83e4
Follow-up r49790: update the PostgreSQL schema
2009-04-24 08:49:29 +00:00
Brion Vibber
7d3e76c415
Revert r48212 "Add user_hidden field to complement ipb_deleted and gu_hidden"
...
Unauthorized schema change, also appears to be unused.
2009-03-20 01:15:41 +00:00
Greg Sabino Mullane
556142b6b2
Make oldimage nullabilities match image ones, per not on bug 15815
2009-03-12 14:46:27 +00:00
Greg Sabino Mullane
cdb4377e8c
Exclude new tables from parserTests.inc test
2009-03-12 14:38:51 +00:00
Greg Sabino Mullane
2a6c9a1dfc
Add user_hidden column to mwuser table for Postgres schema.
2009-03-12 14:35:40 +00:00
Greg Sabino Mullane
a95aac0a32
Quick fixes for new format of tables.sql
2009-02-27 17:29:23 +00:00
Greg Sabino Mullane
43e92922f7
Whitespace consistency.
2009-02-27 16:49:32 +00:00
Alexandre Emsenhuber
81d04dba17
Update Postgres schema per r46460
2009-02-05 20:55:07 +00:00
Greg Sabino Mullane
707b029eaa
Add CASCADE back in: better to break older Postgres versions than new ones.
...
Per bug 16256
2008-11-22 06:44:45 +00:00
Greg Sabino Mullane
61615d0df8
Add column ipblocks.ipb_allow_usertalk
2008-10-11 12:08:10 +00:00
Greg Sabino Mullane
cbef9787ec
Add index on templatelinks.tl_from
2008-10-11 11:45:26 +00:00
Greg Sabino Mullane
4cb78de05f
Quick fix to index dropping, without using IF EXISTS clause, per bug #15896
2008-10-10 18:24:02 +00:00
Greg Sabino Mullane
ddff918e20
Sites are unlikely to have over 2 billion active users
2008-09-22 20:57:36 +00:00
Tim Starling
20cfed18d9
Fixed bug 15148, total breakage of Special:BlockIP on PostgreSQL:
...
* Migrated to a unique index for IP block conflict detection, like we did for MySQL some aeons ago.
* Modified DatabasePostgres to return a correct affected row count for INSERT IGNORE. Tested for single and multi.
* Fixed an unrelated bug: duplicate index rc_timestamp in tables.sql
* Tested for install and upgrade on PG 8.3.
No changelog because I'll backport it to 1.13.
2008-09-06 07:05:14 +00:00
Aaron Schulz
332c496506
* Maintain active user count for Special:Statistics (bug 13585)
...
* Add a global to add update functions to updateSpecialPages.php
2008-08-31 19:29:37 +00:00
Greg Sabino Mullane
fba5563048
Not so verbose, please.
2008-07-31 16:19:15 +00:00
Greg Sabino Mullane
f8ef51fc11
Add separate index for watchlist(wl_user) [Postgres]
2008-07-31 16:18:59 +00:00
Greg Sabino Mullane
ee57423144
Add partial index for common recentchanges query.
2008-07-24 22:28:29 +00:00
Greg Sabino Mullane
bd513eb84f
Check for GROUP BY #.
...
Scan extensions directory as well, refactor that section.
2008-07-18 03:59:49 +00:00
Greg Sabino Mullane
c2c4edde94
Handle new includes directory scheme.
2008-07-18 03:46:39 +00:00
Greg Sabino Mullane
ae3a09e1d2
No more TYPE, look for (and default to) ENGINE.
2008-07-18 03:29:40 +00:00
Brion Vibber
a7af6c3b72
Hold back $wgTrackLinkChanges for a little bit; reverting r37322, 37430, 37432, 37435.
...
Even disabled, it's started interfering with regular tasks like running the parser tests.
2008-07-10 22:11:11 +00:00
Greg Sabino Mullane
d41ba67f2e
Support latest schema changes.
2008-07-09 19:33:21 +00:00
Greg Sabino Mullane
ebc9ee5152
Add recentlinkchanges table for Postgres
2008-07-09 19:25:47 +00:00
Greg Sabino Mullane
aaac504e00
Minor cleanups.
2008-04-30 14:52:12 +00:00
Greg Sabino Mullane
db16a07357
Check that no MySQL-isms have snuck into the codebase.
2008-04-30 14:44:22 +00:00
Greg Sabino Mullane
6ff3f59429
Add pf_memory to profiling table for Postgres
2008-04-30 14:20:36 +00:00
Greg Sabino Mullane
9aac40b848
Make sure DateStyle is set properly. Thanks to Brian A. Seklecki.
2008-04-18 16:27:57 +00:00
Greg Sabino Mullane
e73e14cf4e
Add user_last_timestamp column to user_newtalk table
2008-04-18 15:21:24 +00:00
Greg Sabino Mullane
7c256b8c7a
Add ar_parent_id column.
2008-04-12 00:29:43 +00:00
Greg Sabino Mullane
e9e23d0387
Wrong index, should be unique. Thanks Simmetrical.
2008-03-19 14:27:00 +00:00
Greg Sabino Mullane
fd23af9a2f
Add 'category' table to Postgres schema.
2008-03-19 13:02:49 +00:00
Greg Sabino Mullane
4cf702e101
Take out "bools" section: we're just using smallints now
2008-03-19 13:02:04 +00:00
Greg Sabino Mullane
3898b3b16a
Add updatelog table.
2008-03-18 01:39:36 +00:00
Greg Sabino Mullane
58738762f4
Allow signed int types. Kinda redundant, but hey...
2008-03-18 01:32:57 +00:00
Greg Sabino Mullane
53c0a5c3a8
One of them semicolons snuck out of the barn again...
2008-03-16 20:07:40 +00:00
Greg Sabino Mullane
31028e7ce8
Make sequence names explicit for future porting ease.
2008-03-02 16:42:24 +00:00
Greg Sabino Mullane
ef7a5cf274
Don't CASCADE on TRUNCATE, not available in old versions of Postgres.
2008-03-02 16:41:29 +00:00
Greg Sabino Mullane
435990d805
Table page_props needed in tests after all.
2008-02-27 21:51:13 +00:00
Greg Sabino Mullane
fea3aa6073
Okay for page_props not to be created in parser tests.
2008-02-22 16:09:20 +00:00
Greg Sabino Mullane
af503fefa7
Add table page_props to Postgres schema.
2008-02-21 20:04:00 +00:00
Greg Sabino Mullane
3709b59575
Remove no longer used patch files.
2008-02-19 01:13:33 +00:00
Greg Sabino Mullane
a04e6adc06
Have update.php change the functions to their new builtin tsearch2 versions if Postgres >= 8.3
2008-02-19 01:06:06 +00:00
Greg Sabino Mullane
3e2315637c
Add ipb_by_text to Postgres schema.
2008-02-19 00:58:52 +00:00
Greg Sabino Mullane
b4bb79f361
Reflect new change from CHAR to SMALLINT to match MySQL's pseudo-booleans.
2008-02-19 00:57:53 +00:00
Greg Sabino Mullane
33272a8204
Fixes for 8.3 compatibility, addresses bug 12784.
2008-02-10 16:50:38 +00:00