Commit Graph

31 Commits

Author SHA1 Message Date
stronk7 618a982eed Now all the generators support creating and dropping indexes 2006-09-26 23:15:20 +00:00
stronk7 48eac31328 Replaced XMLDB own implementation of the concat function to use
the new, ultra-cool, ADOdb based, concat_sql(). Thanks, Martin Langhoff!
2006-09-26 18:34:48 +00:00
stronk7 0db2d6bb98 Prevent NOT NULL fields to have one DEFAULT NULL clause 2006-09-25 21:44:21 +00:00
stronk7 812e363a39 Now generators support to add/drop column defaults 2006-09-25 18:22:06 +00:00
stronk7 d3b93bd26a Add skip parameters to one getFieldSQL call requiring them 2006-09-24 15:26:49 +00:00
stronk7 19c8321e07 Now Oracle supports the first part of alter table alter column statements 2006-09-24 00:02:34 +00:00
stronk7 0e9e0b3bb3 adding support for alter columns
(not finished yet)
2006-09-23 21:24:51 +00:00
stronk7 4feeadeb59 Minor fix to be able to drop tables without prefix properly (adodb_log) 2006-09-22 16:16:48 +00:00
stronk7 7f5f956cf5 Allow to specify NULL clauses for some generators, mainly because
some mssql drivers use to create everything as NOT NULL by default.
2006-09-21 17:04:28 +00:00
skodak eef868d17d major whitespace cleanup - fixed trailng whitespace in new files and admin area 2006-09-20 21:00:45 +00:00
stronk7 f0b50bbe89 Now the "AFTER" clause is supported by add_field() 2006-09-12 22:58:04 +00:00
stronk7 3ab2610037 Added functions to retrieve the proper add and drop field SQL. 2006-09-12 22:15:00 +00:00
stronk7 2ebd596764 Avoid one minor error when tables hasn't comments to be defined. 2006-09-10 21:05:55 +00:00
stronk7 3a8c55c3fb Typos + drop table fully supported. 2006-09-07 18:39:43 +00:00
stronk7 8830218f53 Initial support for DROP TABLE adedd. 2006-09-07 17:28:46 +00:00
stronk7 d05babe913 Initial, unfinished, not working, simple version of rename_table generator.
More coming soon, but I needed it in CVS now!
2006-09-06 23:04:13 +00:00
stronk7 2e2a396ca3 Added to the generators the ability of prevent adding prefix for some tables.
(needed by adodb_logsql)
2006-09-05 17:17:49 +00:00
stronk7 716332e68b Added support to SQL generation of statements 2006-08-27 22:31:02 +00:00
stronk7 b8851b80eb Cache names for improved speed in long iterations requesting
the same name thousands of times.
Prepare Oracle Sequnces for the insert_record function.
2006-08-27 08:52:51 +00:00
stronk7 93d2c55ffc Standard naming now user FOUR char for tables (to avoid
avoid some potential duplicates)
2006-08-22 16:15:44 +00:00
stronk7 c412278140 Although difficult, now all the key/index/sequence/trigger names
are quoted if they are reserved words
2006-08-20 18:01:50 +00:00
stronk7 9dcc6300a7 Now all the XMLDBxxx->geSQL functions return an array of statements to be
executed (easily to handle them in the installation/upgrade process
individually. Also, it's possible to specify one statement end.
2006-08-17 19:20:45 +00:00
stronk7 6c11ad54d8 UNIQUE KEY is UNIQUE 2006-08-17 00:31:23 +00:00
stronk7 848caec8c2 Now we are able to generate all the module SQL (any RDBMS) with one
simple function call (final inserts are missing yet)
2006-08-17 00:16:34 +00:00
stronk7 f075bac4f7 Bah, Oracle requires the default clause BEFORE the not null clause. 2006-08-16 23:45:18 +00:00
stronk7 ada5648103 Fixing some potential problems with prefixes and object names. 2006-08-16 23:01:46 +00:00
stronk7 866c0747e8 Line feed added + small bug 2006-08-16 22:23:39 +00:00
stronk7 0c82f279c6 Added one more configuration parameter to disable inline SQL to be added in enum column lines 2006-08-16 18:37:33 +00:00
stronk7 6caad5177d Minor change to do proper create table close 2006-08-16 17:51:49 +00:00
stronk7 1f0872e8ba Changed one default 2006-08-16 17:34:46 +00:00
stronk7 91496d15bc Initial commit of the base generator class. 2006-08-16 17:28:41 +00:00