Commit Graph

25 Commits

Author SHA1 Message Date
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