Commit Graph

39 Commits

Author SHA1 Message Date
Pim Snel
c1c6bddace - fix bug in egw_db so that it will always work with postgresql if using external db's
- enhance schema_proc so that it can work with schema's of externals db objects
2006-12-20 15:18:27 +00:00
Ralf Becker
e6998c2ecf PostgreSQL 8.1 fix 2006-12-20 09:26:04 +00:00
Ralf Becker
a85c611961 fix: suppress index or unique index, which is already a primary key 2006-04-09 10:56:29 +00:00
Carsten Wolff
99cb0bd567 fixed a handfull of bugs that broke setup/update from 1.0 to 1.2 2006-01-06 16:21:51 +00:00
Ralf Becker
68d0668328 fix for bool columns:
- work around some "magic" in ADODB's datadict
- MySQL4.1 allows the standard true/false for inserts only and not as default value
2005-11-29 07:52:18 +00:00
Ralf Becker
9320913b9e - new capability 'name_case'
- docu update
- removed some depricated stuff from the last release
2005-11-20 15:40:28 +00:00
Ralf Becker
970a92297e an other big update ;-)
1) phpgw_lang(uages) --> egw_lang(uages)
2) mysql 4.0+
 - charset gets now set for the connect
 - charset gets used for new tables
 - some columns shortend to deal with 1000byte (= 333 utf-8 chars) limit for indexes
 - update to 1.0.1.019 fixes the charset of existing tables
2005-11-04 18:35:09 +00:00
Ralf Becker
cea4c314d2 phpgw_setup --> egw_setup 2005-06-20 22:07:40 +00:00
Lars Kneschke
062f20ec42 chaning phpgw -> egw 2005-06-20 11:04:20 +00:00
Ralf Becker
84ab716959 $GLOBALS['phpgw --> $GLOBALS['egw 2005-06-20 07:51:01 +00:00
Lars Kneschke
402d3b60e8 little type 2005-05-29 11:23:51 +00:00
Ralf Becker
d9ba5f9ab8 fixed update problem of wiki, RenameColumn could not deal with column-names in mixed case 2005-02-27 19:51:24 +00:00
Ralf Becker
4d498d47cb updates to work around postgres error while upgrading a phpGW 0.9.14 install 2005-02-10 15:15:29 +00:00
Ralf Becker
bff130735c automaticaly lowercase column- and tablenames for oracle (as already done for MaxDB) and setting the maximum index length for oracle to 30 2005-02-07 20:28:05 +00:00
Ralf Becker
3b2da86ce2 postgres fix (error in converting varchar to int if >= 100) 2004-11-21 22:40:21 +00:00
Ralf Becker
630c88d766 reworked installation/upgrade process to not use delta-updates any more, as we can now reliable read the schema back from our supported databases:
- makes update scripts a lot easier and saver
- updates are a lot faster now
==> only the needed update-functions get called
2004-10-23 15:00:44 +00:00
Ralf Becker
ba55620f3d fixed the schema-retrival functions for MySql, Postges and MaxDB 2004-10-14 20:55:52 +00:00
Ralf Becker
b3971d810c RenameColumn no checks if column is used in an index and evtl. rename the column in the index-definition (for the baseline delta) 2004-08-26 14:18:09 +00:00
Ralf Becker
647222728c fix for MaxDB not returning the primary keys via MetaColumns 2004-08-15 16:20:39 +00:00
Ralf Becker
531dbe93c7 added function to read back / import the schema from an existing database (used in setup and db-tools) 2004-08-15 15:43:52 +00:00
Ralf Becker
d5dbb7ef72 new schema_proc class seems to work now 2004-08-13 19:01:03 +00:00
Ralf Becker
c591c2c221 fixed / added mssql support for egw and fixed some other Windows probs on the way ;-)
- knowledgebase is not working: select distinct is not possible with text-columns
- fudforum is not working: is does not use ADOdb and has no own db-layer for mssql
- other apps seem to work, everthing needs through testing - incl. our "old" db's
2004-07-25 01:41:37 +00:00
Ralf Becker
5298bee355 removed "re" 2004-07-03 11:00:24 +00:00
Ralf Becker
39c7cc14da fixed (hopefully last) postgres problem with the indices: sequences have not been set, after the data was inserted into the newly created table 2004-07-02 22:12:10 +00:00
Ralf Becker
a1d4a47172 workaround for a Postgres bug in RefreshTable: unable to find "<" operator for type "unknown", cause by an empty string ('') in a select distinct query 2004-06-27 09:53:58 +00:00
Ralf Becker
3edc6525f2 fix for php 4.1 (print_r with 2 params) 2004-05-24 14:23:46 +00:00
reinerj
48f840d7de move from old projct to new one 2004-05-05 12:06:13 +00:00
Ralf Becker
0bfe2bcd98 fix to remove dublicates in none-indexed tables 2004-04-03 13:00:19 +00:00
Ralf Becker
c09e4eb4c8 fixed typo 2004-04-03 10:22:08 +00:00
Ralf Becker
dcd1912a7b added default values parameter to RefreshTable 2004-02-29 00:13:47 +00:00
Ralf Becker
06ab7f4476 added new function RefreshTable to:
1. change or newly create the primary key or any other index
2. change the order of columns, drop and add multiple columns in one go
2004-02-19 08:48:15 +00:00
shrykedude
653a5e78d3 Avoid multiple NOT NULL parameters, as with MySQL auto_increment fields 2004-01-18 02:23:48 +00:00
Miles Lott
3c12d529f8 Modifed GetIXSQL routines to actually return valid index SQL for postgresql; This needs to be tested further, but does appear to work. 2003-12-17 13:58:02 +00:00
Ralf Becker
e4c0b82b2b disabled index generation again for db other then MySQL, til i fixed it 2003-10-22 12:54:39 +00:00
Ralf Becker
8d2c4bb7a3 fixed schemaproc to create indexes and enhanced syntax to create multicolum indexes and unique keys 2003-10-21 18:09:58 +00:00
Ralf Becker
ff3a3ce3c8 fixed schema_proc to deal correct with empty ('') defaults 2003-09-25 01:32:08 +00:00
Ralf Becker
b8557e49d9 make the phpgw Version-0_9_16-branch HEAD 2003-08-28 14:31:11 +00:00
skeeter
33267908d2 Fixes for a deprecated call by reference. 2002-04-11 14:12:34 +00:00
Miles Lott
ca9651d890 Moving schema_proc classes to the api 2002-03-03 21:48:34 +00:00