Commit graph

305 commits

Author SHA1 Message Date
Tim Landscheidt
5421548819 Add column job_attempts and index job_cmd_token_id to PostgreSQL.
* (bug 43416) This ports cd000590ee.

Change-Id: I3d4c7d906f6465b3a054df2fc0cd8f564173ed2b
2013-02-01 11:45:37 -08:00
Brad Jorsch
bc4c2ef32d Add pp_propname_page index to page_props
This adds an index to page_props to support looking up pages using a
particular property.

Change-Id: Iea778eb783e1d4a46fb0549dfd84915477cac5df
2013-01-21 22:08:10 +00:00
Reedy
cc18322559 Back out config table and related code
Change-Id: I4fa180d45984a4ec2b2c7b1149015c6dad14c5f0
2012-10-29 15:17:24 +00:00
Tim Landscheidt
a4193673b2 Add additional job columns to PostgreSQL as well.
This ports I49824c7fa855fea4ddcac5c9901ece8c2c0101d0 and fixes
bug #41196.

Change-Id: I18e0ac3aee2c2627f89d28d4a34afd90c822af91
2012-10-24 18:56:54 +00:00
Tim Landscheidt
b5df3f37d1 Add filearchive.fa_sha1 to PostgreSQL as well.
This fixes bug #41114.

Change-Id: I021070f90d35d99ad55944543e94004f62d5f08c
2012-10-20 03:37:53 +00:00
freakolowsky
287bf0db12 Add *_content_(model|format) fields to PostgreSQL
Create ContentHandler field for PostgreSQL
(for installer and the update).

TEXT was chosen as replacement for MySQL VARBINARY(32)

Change-Id: Ia86ae79d37517630e1767dfb976604bbb174104b
2012-10-11 20:53:16 +00:00
Marc A. Pelletier
7694faf68f (bug 5445) remove autoblocks when user is unblocked
Previously, whenever we blocked a user, its IP address would be
autoblocked whenever he tries to edit a page. Thus when later unblocking
the username, he would be automatically blocked again if we forgot to
clean up is IP.

This patch introduces a the ipb_parent_block_id column in ipblocks table
to track which block triggered the autoblock command. Thus, when deleting
the original block we can easily remove all subsequentautoblocks.

Schema updaters for MySQL, SQLite and postgres have been added to the
patch but not for the other database types such as ibm_db2, mssql and
Oracle.

Change-Id: I4aa820ae9bbd962a12d0b48b6c638a1b6ff4efc9
2012-05-03 12:07:30 +02:00
Greg Sabino Mullane
98b9296303 PostgreSQL schema: datatype updates, remove unused column, add table
* More allowed data type conversions from MySQL to PostgreSQL
* Allow for data type SMALLINT: seen for first time!
* Handle CREATE TYPE: check for dupes, and allow the name as a valid data type.
* Remove the now-deprecated user_options column.
* Add new table "config"

Change-Id: I18e67bcb131b88bfaea7e736f302dd79ebfc9b82
2012-04-04 09:15:51 -04:00
OverlordQ
351332641a Followup to r107866, add in new job_timestamp field which was likely completely breaking anything related to the job queue, should fix failing TemplateCategoriesTest.testTemplateCategories on PG 2012-01-12 22:11:12 +00:00
OverlordQ
44ce86ac01 Followup to whatever revision added us_chunk_inx 2012-01-12 17:10:48 +00:00
Chad Horohoe
7914b2ee68 (bug 29475) Remove "trackback" feature entirely from core. This has been disabled-by-default since its inception and nobody uses it.
If someone really really wants this, they can write an extension.

Language files need rebuilding, but I took care of En and messages.inc.
2011-11-23 17:14:03 +00:00
OverlordQ
0074526857 Followup to r100640, use correct name scheme for sequence, correct references to sequence and add optional patch file for sites following trunk 2011-11-16 19:54:38 +00:00
OverlordQ
608d6bba76 Followup to r101021, add back to Pg schema so we can install mediawiki 2011-10-31 20:03:43 +00:00
OverlordQ
8cd73f35ff Update Postgres with missing uploadstash tables 2011-10-24 19:43:16 +00:00
Aaron Schulz
a4d029210a Follow-up r90749:
* Removed useless ufg_group index from user_former_groups
* Index name consistency
2011-06-25 04:11:20 +00:00
Aaron Schulz
cb6b72cef7 Added one-time promote support via Autopromote::autopromoteOnceHook function. This is still a bit rough on the edges. This uses a hook since extension may want to control when it's called for performance reasons. Patch by lampak. (for bug 24948) 2011-06-25 02:52:30 +00:00
Brion Vibber
5f0afcf1a2 Breaking the 'math' table setup out to Math extension. Should be the last main step in extension-ification of the math options!
The 'math' table will no longer be created on a default install unless you've explicitly enabled the Math plugin at install time; the usual update.php procedure will add it in.

Postgres, Oracle, MSSQL, and DB2 variants are included -- broken out from the core files -- but have not been tested.

I know there has been some code duplication in parser test infrastructure but could only find one instance of the parser test temporary table setup to remove the 'math' table from (the extension adds it back via the hook). If the phpunit-based runner breaks, please track it down and fix it there too.
2011-04-22 21:37:16 +00:00
Mark A. Hershberger
13e7d428b1 followup r13884 add CASCADE so that if the tables are created a second
time, errors aren't given.
2011-02-05 22:20:09 +00:00
Mark A. Hershberger
1eb2307caa Results of my work on new-installer and Pg.
* NOTE: this commit removes any semblence of tsearch compatibility with pre-8.3 PostgreSQL
* Make new-installer work against PostgreSQL
* Remove SearchPostgres.php's call to pg_fetch_result.  I think this is the only one outside of the vestigtial old installer code.
2011-02-03 04:06:11 +00:00
Greg Sabino Mullane
a159977153 Use text_pattern_ops for page_title, as some code uses 'anchor%' matching. 2011-01-19 16:14:37 +00:00
Greg Sabino Mullane
cb1c5fd26b Add new index on pagelinkes(pl_title) per suggestion from bug 25111 2010-09-13 15:04:04 +00:00
Greg Sabino Mullane
da86748730 Add new tables. 2010-09-08 02:02:28 +00:00
Greg Sabino Mullane
7eac02fe48 Bump cl_collation from smallint to a text 2010-09-03 21:08:16 +00:00
Greg Sabino Mullane
0426d84d21 Add in new categorylinks columns. 2010-08-31 14:35:56 +00:00
Greg Sabino Mullane
f31556261f CREATE LANGUAGE belongs as part of the installer, not here. 2010-08-24 17:35:03 +00:00
Mark A. Hershberger
79907b4b08 OverloardQ or other PG person, please review
These patches were necessary to get new-installer working on PG for me.  I'm not sure about the ‘create lang' bits — they should maybe be in another step?
2010-08-17 03:07:27 +00:00
Greg Sabino Mullane
f6e216c54e Add new partial index for Postgres 2010-08-04 12:40:42 +00:00
Greg Sabino Mullane
5c994a71b3 Remove invalid comma 2010-08-04 11:09:56 +00:00
Roan Kattouw
61de1b9006 Rename the iwl_prefix_from_title index (again) to iwl_prefix_title_from and change the field order accordingly. Fixed r66892 which inserted iwl_from into the index (which was a good thing) but put it in the wrong place. I went out of my way to make sure the index isn't dropped and recreated needlessly, but since I don't know how to do the drop-index-if-exists thing in the Postgres updater, I left that out. The Postgres updater will now create the new index without dropping any old incarnations if present. I did create the patch files with the DROP INDEX statements to make it easier to add this behavior. Also tweak ApiQueryIWBacklinks to use this index properly. 2010-07-22 08:52:58 +00:00
OverlordQ
4739d6e36e Followup to r69580, did I mention MySQL sucks? 2010-07-20 06:02:09 +00:00
OverlordQ
aac4aa2c6f Followup to r69542, since the new installer doesn't support PG, this is going into updaters.inc 2010-07-20 05:59:51 +00:00
Greg Sabino Mullane
23fc153996 Add ul_value to Postgres schema. 2010-07-08 15:11:57 +00:00
Greg Sabino Mullane
f9e29ab620 Standardize the formatting. 2010-05-28 21:37:15 +00:00
Sam Reed
d5b8c1e12b Attempt at changing postgres as per r66892
OverlordQ or someone, can you review please?
2010-05-25 21:36:56 +00:00
Chad Horohoe
b9648ffd01 Kill last vestiges of mediawiki_version. Nobody actually uses it anymore, it just gets silently updated (and only for Postgres at that) 2010-04-26 13:46:04 +00:00
OverlordQ
f787b8155f Followup to r65104, PG updater/table def 2010-04-16 02:35:37 +00:00
Greg Sabino Mullane
4539958087 Make foreign key constraints DEFERRABLE INITIALLY DEFERRED when using Postgres as the database backend 2010-03-22 18:13:06 +00:00
Aryeh Gregor
b520bfb771 Rename some extauth functions and fields
Per Code Review at
<http://www.mediawiki.org/wiki/Special:Code/MediaWiki/53497#c4633>.  One
of the changes was a database field, and updaters might have to be
written for pgsql and DB2.
2009-12-08 19:32:17 +00:00
OverlordQ
31bc78fc18 Followup to r58262: PG half of sequence changes 2009-10-28 17:08:06 +00:00
OverlordQ
355d563f05 Followup to r57964, forgot to revert column change 2009-10-21 02:50:45 +00:00
OverlordQ
bdb4f74360 Add missing columns to PG schemas
Add exceptions to schema comparison script
Alter SQL comments to appease said script
2009-10-21 02:46:39 +00:00
Greg Sabino Mullane
d34a4a5425 Full support for modified oldimage FK constraint to do ON UPDATE CASCASE as well as ON DELETE CASCADE. Thanks to Robert Fleming for reporting and supplying a patch in bug #19445. 2009-07-20 01:54:36 +00:00
Greg Sabino Mullane
3b545f8a39 For oldimage table, do ON UPDATE CASCADE. Per bug #19445.
Note: still needs adjustments to updaters.inc
2009-07-20 01:42:24 +00:00
Roan Kattouw
7130db80c9 (bug 19726) Missing schema updates break file uploads for Postgres. Patch by OverlordQ 2009-07-15 09:38:07 +00:00
Chad Horohoe
6964e122dd (bug 19428) PG and MySQL followups to r52503. Patch by OverlordQ 2009-07-01 00:55:45 +00:00
Greg Sabino Mullane
21993cbb81 Clean up whitespace, add log_search to Postgres schema. 2009-05-19 20:55:29 +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
2a6c9a1dfc Add user_hidden column to mwuser table for Postgres schema. 2009-03-12 14:35:40 +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
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
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
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
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
ebc9ee5152 Add recentlinkchanges table for Postgres 2008-07-09 19:25:47 +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
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
3898b3b16a Add updatelog table. 2008-03-18 01:39:36 +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
af503fefa7 Add table page_props to Postgres schema. 2008-02-21 20:04:00 +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
33272a8204 Fixes for 8.3 compatibility, addresses bug 12784. 2008-02-10 16:50:38 +00:00
Greg Sabino Mullane
ffffd9f661 Override replaceVars, other changes to support 8.3 install. 2008-02-10 15:38:48 +00:00
Aaron Schulz
ab1edeb9a8 Normalize _deleted stuff 2008-01-28 01:35:31 +00:00
Aaron Schulz
6293e4a1dd * Make rev_deleted an integer
* Add rev_deleted to updaters.inc
2008-01-27 19:20:48 +00:00
Greg Sabino Mullane
ad76180546 Yet more cleanup of the protected_titles stuff. 2007-12-16 23:35:14 +00:00
Greg Sabino Mullane
12cffaa3b5 Add protected_titles table. 2007-12-16 15:32:34 +00:00
Greg Sabino Mullane
c876d841c2 Make filarchive width/height columns ints for Postgres (not smallint) 2007-10-12 00:40:58 +00:00
Greg Sabino Mullane
1dfb44b51d Major cleanup of schema, based on new compare_schemas.pl functionality. 2007-09-24 20:10:00 +00:00
Greg Sabino Mullane
0ab8c7e910 Make CONCAT calls database portable, change IF() to standard CASE-WHEN calls.
Postgres: replace CHAR(64) with TEXT for fa_storage_key of filearchive
Postgres: Add hasConstraint to allow replacing of oldimage fk constraint
Postgres: make oldimage cascade delete on image deletion
2007-09-23 22:23:01 +00:00
Greg Sabino Mullane
6f617c7ad4 (Bug 11363). Change image and filearchive to bytea from text, to match oldimage. 2007-09-23 20:47:17 +00:00
Greg Sabino Mullane
b3ab7a1b3e Since slashes in page titles have special meaning, force them to delimit words. 2007-09-06 16:32:00 +00:00
Domas Mituzas
74e1bf30a5 destroy rc_patrolling index, no removers added, I hope not that many people did run update with that revision :) 2007-09-05 08:14:18 +00:00
Brion Vibber
5a9878f32d Fixups for page id field in the archive table:
* Make the field nullable for consistency with ar_rev_id and ar_text_id and between MySQL and PostgreSQL and generally so you can cleanly tell between bogus fields and ones that predate use of the field
* Remove duplicate incorrect adding of the field for postgres
* Rename to ar_page_id for consistency with ar_rev_id and ar_text_id
* Rename the patch file for naming consistency

Note that there's no documentation of this schema change in the release notes either, which bugs me a bit.
2007-08-11 14:43:47 +00:00
Greg Sabino Mullane
fe2c0f1ba0 Add rc_patrolling index to Postgres schema 2007-08-09 14:58:02 +00:00
Greg Sabino Mullane
114c92d5cb Various updates to Postgres schema and updater. 2007-07-27 12:23:58 +00:00
Greg Sabino Mullane
9e37652fff Add ar_page column 2007-07-27 11:52:38 +00:00
Yuri Astrakhan
ca7ea84a74 Forgot to update table sql per bug 10280 2007-06-22 15:19:55 +00:00
Greg Sabino Mullane
e30bde5ef4 Add ipb_block_email column 2007-06-16 18:25:14 +00:00
Aaron Schulz
af572f50e3 *Restore oldimage schema changes removed temporarily in r21957 (with some index modifications) 2007-05-31 15:26:15 +00:00
Brion Vibber
9834345068 Revert schema changes in r21954, 21955, 21956 for the moment 2007-05-07 16:24:12 +00:00
Greg Sabino Mullane
39aa3d526d Add new columns to oldimage table. 2007-05-07 15:22:20 +00:00
Greg Sabino Mullane
bca55fa58f Account for pre-existing test table, commit only if setup completes. 2007-03-26 00:12:26 +00:00
Greg Sabino Mullane
af8440f164 Another pesky comma where it shouldn't be. 2007-03-26 00:02:16 +00:00
Greg Sabino Mullane
c18c846e6a Errant comma restored. 2007-03-25 23:51:30 +00:00
Greg Sabino Mullane
eecb949a61 Postgres: Change math_inputhash and math_outputhash to bytea for bug #8716 2007-03-17 20:00:09 +00:00
Greg Sabino Mullane
b0421f3e83 Minor cleanups 2007-03-17 19:12:05 +00:00
River Tarnell
b489c34728 syntax errors in postgres schema 2007-03-14 00:50:56 +00:00
Greg Sabino Mullane
fa416e53db Default null is implicit, remove tabs. 2007-03-14 00:06:36 +00:00
Aaron Schulz
e1174cfafe *Add ar_len, remove reference to archive2 for Postgres 2007-03-13 23:02:43 +00:00
River Tarnell
6597532345 drop obsolete archive2 table; it doesn't work and Special:Delete/Undelete work fine without it 2007-03-10 19:06:40 +00:00
River Tarnell
62a236952e ERROR: null value in column "ar_deleted" violates not-null constraint in /var/www/html/wiki-pg/includes/DatabasePostgres.php on line 402
- coalesce NEW.ar_deleted in archive_insert rule, because MW might not specify it and the default doesn't take effect
2007-03-10 18:50:33 +00:00
Aaron Schulz
5baa9afd14 * Add ar_deleted to CREATE VIEW 2007-03-10 18:41:51 +00:00
Aaron Schulz
f12dd21e08 *Revert r20302, no use for this index 2007-03-10 18:19:07 +00:00
Aaron Schulz
f5282178d2 *Add bitfields to various tables for revisiondelete 2007-03-09 21:51:11 +00:00
Brion Vibber
4063392a82 Since we're making other changes, let's bring in that rev_parent_id field from branches/roman 2007-03-09 20:50:11 +00:00
River Tarnell
dd078ce130 tables.sql needs rev_len 2007-03-08 03:20:31 +00:00
River Tarnell
202acccbbf ERROR: syntax error at or near "a2" at character 22
LINE 1: DELETE FROM archive2 a2 WHERE a2.ar_title = OLD.ar_title AN...
2007-03-07 22:17:43 +00:00
Aaron Schulz
6364231cb9 *Create unique index pr_pagetype for PostgreSQL to fix protection breakage (bug 9097)/ add key name for clearity for MySQL 2007-02-25 21:19:32 +00:00
Aaron Schulz
e6ec1e8a20 *Add pr_id column to fix horrible breakage (Bug 9103) 2007-02-25 19:49:51 +00:00
Brion Vibber
a063c8f0f1 Revert r19843 for now; unreviewed schema changes 2007-02-09 19:41:31 +00:00
Roman Nosov
fcbea0c876 Revision table tree patch (No objections have been raised so i'm committing it to trunk) 2007-02-09 11:22:13 +00:00
Greg Sabino Mullane
b0ca0f13f6 Make user_ip in user_newtalk a TEXT, as it is not an IP field. 2007-02-07 18:47:04 +00:00
Greg Sabino Mullane
08c988064a Rules to allow deletion from archive[2] 2007-02-07 18:13:00 +00:00
Greg Sabino Mullane
29abbb2c21 Whitespace fixing, change to_date to to_timestamp for archive rule 2007-02-07 16:02:21 +00:00
Greg Sabino Mullane
153e82e75d Refactor versioning from setup and store number internally.
Move tsearch indexes out of tables.sql and put into setup, so 
that we can take advantage of GIN for >= 8.2
2007-01-16 04:04:55 +00:00
Greg Sabino Mullane
48df6bc4ee Add index on rev_text_id to help speed up full text searches. 2007-01-15 22:49:51 +00:00
Greg Sabino Mullane
5aff55cdd5 Add page_restrictions table. 2007-01-11 15:57:41 +00:00
Leon Weber
6061d1db2c * Fixed the default for recentchanges.rc_*_len to NULL on postgre as it should be 2006-12-14 15:34:56 +00:00
Brion Vibber
288a7eb7f1 Going ahead and adding this field while other DB updates are pending.
Interfaces to use it can be added shortly.

* Add user_editcount field to provide data for heuristics on account use.
  Incremented on edit, with lazy initialization from past revision data.
  Can batch-initialize with maintenance/initEditCount.php (not yet friendly
  to replication environments, this will do all accounts in one query).
* Allow raw SQL subsections in Database::update() SET portion as well as
  for WHERE portion. Handy for increments and such.
2006-12-14 13:22:52 +00:00
Brion Vibber
fc39e18f0e * (bug 8255) fix regression in postgres tables.sql 2006-12-14 10:55:23 +00:00
Leon Weber
7531338080 * DB schema change: added two columns (rc_old_len and rc_new_len) to the recentchanges table to store
the text lengths before and after the edit
* (bug 1085) Made Special:Recentchanges show the character difference between the changed revisions
2006-12-09 11:36:35 +00:00
Greg Sabino Mullane
7764aac112 Change ipb_address to text due to recent report. 2006-11-06 02:31:59 +00:00
Greg Sabino Mullane
f30fc93fc1 Add enable_autoblock column. 2006-11-01 14:18:33 +00:00
Greg Sabino Mullane
b8f8333edc Duplicate column. 2006-10-31 15:53:19 +00:00
Greg Sabino Mullane
1b9821bc20 Make sure users cannot be deleted unless they have done no editing. 2006-10-30 01:04:00 +00:00
Greg Sabino Mullane
7e84b58dab Add "redirect" and "querycachetwo" tables. 2006-10-25 16:26:57 +00:00
Tim Starling
e9de4983bf Added a per-user limit on password reminder emails. Presumably if you just had a password reminder sent to you, you don't need another one a short time later. Along with a proper per-IP throttle setting, this should fix the majority of the abuse problem on Wikipedia. 2006-10-23 09:35:30 +00:00
Greg Sabino Mullane
c9300ad62f Bump oldimage types to match image table. 2006-10-03 00:55:26 +00:00
Greg Sabino Mullane
b0b9ee5487 Swap index order. 2006-09-27 12:18:52 +00:00
Greg Sabino Mullane
d63c80199d Add checks for proper Postgres version early on.
Add ctype to the tracking table.
2006-09-03 23:03:53 +00:00
Greg Sabino Mullane
9ab8dcda19 Explicitly use 'default' locale for tsearch2 queries. 2006-09-03 02:43:26 +00:00
Greg Sabino Mullane
ebf0e8e14b Make pf_server nullable. 2006-08-12 19:04:53 +00:00
Greg Sabino Mullane
abba028e14 Add notes column. 2006-08-11 23:18:26 +00:00
Greg Sabino Mullane
743eef0190 Bump oldimage size type from smallint to integer 2006-08-11 19:31:09 +00:00
Greg Sabino Mullane
7703f8f90b Add profiling table. 2006-07-30 23:36:14 +00:00
Greg Sabino Mullane
7b9af4c70b Change reserved word table names "user" and "text" 2006-07-23 02:04:40 +00:00
Greg Sabino Mullane
276cd02d71 Remove dummy page - no longer needed. 2006-07-22 18:10:55 +00:00
Greg Sabino Mullane
7213f8f05a Minor whitespace cleanup 2006-07-22 17:30:39 +00:00
Greg Sabino Mullane
a88b9ec761 Use views and rules to work around the char(15)::timestamp problem.
Should be easy to change when/if true timestamps are used in the code.
2006-07-17 01:17:07 +00:00
Greg Sabino Mullane
e1d41bfc2e Deletion-related housekeeping. 2006-07-16 17:54:06 +00:00
Greg Sabino Mullane
31acb3557f Typo. 2006-07-16 15:45:47 +00:00
Greg Sabino Mullane
1357fcb090 Bump up size, height, and width data types for image table. Fixes bug #6634 2006-07-16 15:40:25 +00:00
Greg Sabino Mullane
e05aa4f517 Add ipb_anon_only and ipb_create_account columns. 2006-07-16 15:32:45 +00:00
Greg Sabino Mullane
944bb2aa40 Expand new version table. 2006-07-16 12:26:35 +00:00
Greg Sabino Mullane
5d3d3ad8fd Add mediawiki_version table. 2006-07-16 12:09:15 +00:00
Greg Sabino Mullane
8003b84cac Might as well give pag_random a decent default. 2006-07-05 04:15:57 +00:00
Greg Sabino Mullane
dcfc56b888 Wrap entire thing in a transaction
Reverse user_groups index
Change TEXT to CIDR where possible
Create partial indexes on page for speed
Change objectcache.value to bytea
Add tsearch2 stuff
2006-07-05 03:49:36 +00:00
Greg Sabino Mullane
acb0fb5b7d Add searchindex table back in, lots of reformatting. 2006-06-29 01:44:12 +00:00
Greg Sabino Mullane
1de8adf398 Remove hard-coded SCHEMA stuff, now set in the config at user level. 2006-06-28 18:06:34 +00:00
Greg Sabino Mullane
b69a6155f6 Add table "filearchive" 2006-06-27 20:54:40 +00:00
Greg Sabino Mullane
4c0488c5c8 Reminder about hard-coded schema 2006-06-27 20:17:26 +00:00
Rob Church
dc1bb02336 Remove unused "validation" table definitions from the schema files 2006-06-21 22:40:40 +00:00
Greg Sabino Mullane
81f7f2ac7d Add querycache_info table. 2006-05-25 00:44:55 +00:00
Brion Vibber
6832afd9ea Somehow managed to forget to check this in... 2006-04-30 17:36:16 +00:00