Commit graph

74 commits

Author SHA1 Message Date
stronk7
b0ec41af8a Prevent Unique Keys generation. Instead use unique indexes at DB level.
With this, all we'll have are PRIMARY KEYS + INDEXES, that are pretty
well supported by ADODB MetaXXX functions.
Both Unique and Foreign Keys will be used once ADODB support them and
the relational mode was enforced.
2006-09-24 09:38:56 +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
f8c485b071 mysql alter table alter column is "modify column" 2006-09-23 21:23:05 +00:00
stronk7
c282203d84 mssql doesn't support default clause in alter table alter column 2006-09-23 21:22:02 +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
d4b86c90dc Fixed bug about all chars being created with length 255. Penny found this! 2006-09-22 10:15:51 +00:00
stronk7
373dc4406b Killing some not needed references 2006-09-22 09:54:02 +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
48c2be79be Now we support to use the previous attribute in fields declaration 2006-09-12 22:56:52 +00:00
stronk7
0bd921db9e Added support for add_field and drop_field 2006-09-12 22:20:50 +00:00
stronk7
0dd87cfa7a Delete one trailing comma 2006-09-12 22:15:44 +00:00
stronk7
3ab2610037 Added functions to retrieve the proper add and drop field SQL. 2006-09-12 22:15:00 +00:00
stronk7
d256743c5b When dropping columns, look for check constraints and drop them too. 2006-09-12 22:13:45 +00:00
stronk7
ec68af222e Ops, forgot to delete some debug... :-/ 2006-09-12 21:30:13 +00:00
stronk7
2a02841762 MSSQL needs to drop the default constraint before being able to drop the column 2006-09-12 21:24:03 +00:00
stronk7
88bf021308 Fixed buggy condition. Now defaults are properly calculated by getPHP() 2006-09-12 16:45:46 +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
05a43ba36c Initial RenameTable caller to generators. Not ended by I needed it in CVS now. 2006-09-06 23:05:12 +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
aed4e52713 Now indexes are able to return their PHP specs. 2006-09-06 19:47:50 +00:00
stronk7
989a41af6f Now keys are able to return their PHP specs. 2006-09-06 19:43:38 +00:00
stronk7
7b31a94e08 Now fields are able to return their PHP specs. 2006-09-06 19:31:03 +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
623942afff Allowinng tables to create fields/keys/indexes using the one-pass-setters 2006-09-02 23:52:55 +00:00
stronk7
76fd473623 Added one-pass-setters for fields/keys/indexes. 2006-09-02 23:51:39 +00:00
stronk7
cb62712c6d Added some used strings 2006-09-02 23:49:02 +00:00
stronk7
4782a1f8bc Minor modifications to oci8po generator (max 38 for number) 2006-08-31 00:19:57 +00:00
stronk7
393e7cc373 where BIG should be LONG... 2006-08-30 16:14:44 +00:00
stronk7
914597ee9f ...where = should be == ... 2006-08-30 16:06:16 +00:00
stronk7
a0da32e935 Moving getEndedStatements() to the propef function. 2006-08-29 21:57:40 +00:00
stronk7
716332e68b Added support to SQL generation of statements 2006-08-27 22:31:02 +00:00
stronk7
9dbc13db9a Concat operator for mysql added 2006-08-27 22:25:41 +00:00
stronk7
b96aaad125 Concat operator for mssql added 2006-08-27 22:24:09 +00:00
stronk7
a75636b7ed Added support to SQL generation of statements 2006-08-27 22:22:23 +00:00
stronk7
efd1e2032d Added support to SQL generation of install INSERTs 2006-08-27 21:59:04 +00:00
skodak
9d4cb9e33b New handwritten XMS schema for install.xml files, generator is fixed to link it too. It is not doing all the checks as XMLDB editor from contrib, but it helps to detect basic problems in general XML editors - such as the one in Eclipse ;-) It can serve also as basic documentation of the install.xml format. 2006-08-27 18:33:37 +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
c8a418b8d6 Max for decimal type in MSSQL is 38 cc. 2006-08-26 00:50:09 +00:00
stronk7
09942a5ec2 PGs doubles are caller DOUBLE PRECISION 2006-08-25 17:11:43 +00:00
stronk7
860b55463f Normalizing a bit all the float/double generators. 2006-08-22 22:10:09 +00:00
stronk7
2efaf3f8ab One trick to allow pseudo-null Oracle insertions. Let's see what happen. 2006-08-22 16:39:14 +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
88534572c3 Reducing the list of MSSQL reserved words to the efectively
reserved words (the previous list included a lot of words
reserved by SQLXX standars but not by MSSQL)
2006-08-21 12:28:46 +00:00
stronk7
c8f85eeeba Reducing the list of PG reserved words to the efectively
reserved words (the previous list included a lot of words
reserved by SQLXX standars but not by PG)
2006-08-21 12:04:48 +00:00
stronk7
0513f3bfa5 $statement_end for Oracle changed to "/" because standard ;
causes problems with trigger generation
2006-08-20 21:56:54 +00:00