116 Commits

Author SHA1 Message Date
stronk7
ef856b2d52 Enablig rename_table() PHP generator
Merged from MOODLE_17_STABLE
2006-11-02 22:44:29 +00:00
stronk7
e0251aea34 Added two more tests:
- To check adding numerial fields not null + default = 0
- To test set_field() with TEXT data

Merged from MOODLE_17_STABLE
2006-10-21 17:25:44 +00:00
stronk7
b2b33a1fef Added 4 more tests to check CLOB/BLOB handling across all DBs. MDL-7062
Merged from MOODLE_17_STABLE
2006-10-17 23:31:49 +00:00
stronk7
ba4aa5ec72 Added one more XMLDB test for find_sequence_name()
Merged from MOODLE_17_STABLE
2006-10-16 17:58:01 +00:00
stronk7
f8ca405052 re-enabling the rename_field() test 2006-10-02 17:42:31 +00:00
stronk7
3033991184 Set debug off on tests 2006-10-02 16:26:34 +00:00
stronk7
cba6b7049a Enabling rename_field() test 2006-10-01 23:06:35 +00:00
stronk7
3832682229 Fixed two bugs in the tests... 2006-10-01 16:08:25 +00:00
stronk7
f086dd7da1 Drop one more table if present 2006-09-30 23:09:41 +00:00
stronk7
a59f3a34f3 Initial commit of rename_table(). Not ended! 2006-09-30 22:40:15 +00:00
stronk7
142d7fb842 Added one more test to check the EXPERIMENTAL rename_key() function 2006-09-30 19:45:51 +00:00
stronk7
1c86ef5b1c Adding support for index renaming. Note that MySQL doesn't support this
but this shouldn't be important at all, mainly because, under xmldb,
accesses to index-names are always done with find_index_name() and
never explicity.
Anyway, this function could be useful in the future to normalize index
names in some Health center or another similar place.
2006-09-30 18:23:00 +00:00
stronk7
aa8503fdd0 Added 3 more tests to check change_field_enum() 2006-09-30 17:06:59 +00:00
stronk7
3650ba6f58 Using the new table_exists() to initialize tests properly. 2006-09-30 15:51:41 +00:00
stronk7
4fae686bc2 Enablig PHP generation of code for change_field_type() 2006-09-29 23:12:40 +00:00
stronk7
cec4b7c621 Added to more tests to check float <---> char conversion 2006-09-29 23:10:31 +00:00
stronk7
b0cd86786b Change one test a bit... 2006-09-29 17:29:08 +00:00
stronk7
72fa544947 Moving some tests up and down and introducing some more
tests about changing column types. Not working yet unded mssql
2006-09-28 23:16:29 +00:00
stronk7
531bf26489 Adding two more tests (create and drop foreign keys) 2006-09-28 22:11:06 +00:00
stronk7
a8b7de48fe Adding some more tests about adding and dropping keys 2006-09-28 17:35:52 +00:00
stronk7
97bd35b284 Fixed bug in PHP generation of indexes. 2006-09-27 18:47:24 +00:00
stronk7
0c31ba2813 Adding test for create index and drop index. 2006-09-26 23:08:44 +00:00
skodak
6859360cd4 coverted /admin/ to proper /$CFG->admin/ in paths 2006-09-26 21:10:14 +00:00
stronk7
ceac2552ef Added support for PHP generation on create/drop/rename indexes and keys 2006-09-26 19:05:55 +00:00
stronk7
313b5a3550 Minor changes to improve behaviour of selections. 2006-09-25 22:53:39 +00:00
skodak
fa323030fa XMLDB editor now has admin-tree block 2006-09-25 18:29:50 +00:00
stronk7
aa134ecf17 Now the tests are performed with real data (2 records). Added 4
more tests to check compatibility of set/drop defaults...
2006-09-25 18:20:08 +00:00
stronk7
c02a561f97 Minor change to test to exclusively test the change of nullability 2006-09-24 15:28:32 +00:00
stronk7
dcf9c14c2b Typo 2006-09-24 00:13:22 +00:00
stronk7
3fb145e061 Change slighty the tests... 2006-09-24 00:11:53 +00:00
stronk7
27bb1be29d Inserted two more test 2006-09-24 00:01:02 +00:00
stronk7
05002031d5 adding some more tests 2006-09-23 21:30:36 +00:00
stronk7
1934b52236 adding support for some more options 2006-09-23 21:29:31 +00:00
stronk7
8e895ae5c7 mark rename table as not implemented 2006-09-23 21:28:16 +00:00
skodak
eef868d17d major whitespace cleanup - fixed trailng whitespace in new files and admin area 2006-09-20 21:00:45 +00:00
toyomoyo
9c37662f22 replacing deprecated funciton calls with capability calls 2006-09-19 09:16:24 +00:00
moodler
a229726a11 Fixing debugging 2006-09-18 13:36:17 +00:00
stronk7
12bda5832f Two more tests added: add_field() and drop_field() 2006-09-12 22:21:51 +00:00
stronk7
3be91b01b6 Added support for add_field, drop_field and rename_field PHP code generation. 2006-09-12 17:45:25 +00:00
stronk7
cb78437d64 Changed some PHP comments. 2006-09-12 17:41:22 +00:00
stronk7
eafc2b70e8 Some more improvements. Not finished yet. 2006-09-11 22:06:35 +00:00
stronk7
c5a6ae177a Initial verion. Not working yep but I needed to send it now. 2006-09-11 13:15:36 +00:00
stronk7
a84634a1d4 improved display of errors... 2006-09-10 18:53:47 +00:00
stronk7
091789788f Linking to the tests from the main page. 2006-09-10 18:42:23 +00:00
stronk7
f4bb0ad8f7 Adding support for tests of DDL statements within the XMLDBEditor 2006-09-10 18:41:34 +00:00
stronk7
386c23c9da PHP code for dropping and renaming tables added. Note that the DDL
functions doesn't exist yet. ;-)
2006-09-06 22:34:09 +00:00
stronk7
3ab430fbc5 The XMLDBEditor is generating automatic PHP code for create_table 2006-09-06 19:49:13 +00:00
stronk7
bc942ab58a Added support to retrofit tables without prefix 2006-09-05 17:55:59 +00:00
stronk7
b0c7d55893 Skeleton of the view_php helper. 2006-09-02 23:44:06 +00:00
stronk7
b4f3a93b01 Improve save file, showing the proper error if not writeable. 2006-08-30 17:12:00 +00:00