Commit Graph

45 Commits

Author SHA1 Message Date
Martin Langhoff f3f7610c90 cvsimport fixups -- cvshead had strayed from upstream 2007-01-04 13:15:04 +13:00
stronk7 5d0fc5c33d Deprecating old "upgrade" files. MDL-7214
Merged from MOODLE_17_STABLE
2006-10-26 22:46:02 +00:00
stronk7 3aac1dc9a0 Deprecating old "upgrade" files. MDL-7214
Merged from MOODLE_17_STABLE
2006-10-26 22:39:10 +00:00
stronk7 cff74cb145 New upgrade.php file added for this module. MDL-7214 2006-10-26 15:38:18 +00:00
stronk7 b4c7bb78fc Deleting some old oci8po files from CVS. 2006-10-21 18:28:28 +00:00
stronk7 10f36d68e8 Avoid some notices. Part of MDL-6854 2006-10-05 19:29:39 +00:00
stronk7 a689637d0f Polishing a bit key and indexes names... 2006-08-07 18:02:15 +00:00
stronk7 dff83d0bdc Initial XMLDB implementation of Moodle backup tables 2006-08-07 17:58:19 +00:00
skodak 365525fc51 Bug #6147 - Upgrade from 1.5.x breaks with Postgres 7.4.x
Even though Postgres 7.4.x is officially supported, several upgrade scripts use syntax that only works in Postgres 8.x. and it's impossible to finish the upgrade.

The attached patch fixes those scripts.

Saludos. I�aki.

Author: I�aki Arenaza
Review: Jun Yamog, Martin Langhoff

merged from MOODLE_16_STABLE
2006-07-31 17:54:32 +00:00
martinlanghoff aec6df38ac moodle16cleanup: backup/ set the correct column datatype and default value 2006-05-17 06:36:14 +00:00
toyomoyo 0327c40abb bug fix for 5303. hope i didn't break anything >_< 2006-04-28 03:18:56 +00:00
toyomoyo cb24115c8e trying to change all the default NULL fields to NOT NULL default '0'/'', hope i didn't mess up. Please report any bugs asap! 2006-04-26 05:48:04 +00:00
toyomoyo 9a7f3cad99 fix for 5205 2006-04-24 02:20:06 +00:00
thepurpleblob 6c554ff60a Spurious database prefixes in front of index names removed. Bug #5282 2006-04-21 13:27:08 +00:00
toyomoyo 7d8b709473 oops 2006-04-21 07:52:30 +00:00
toyomoyo 34d495d1ba fix for bug 5205 2006-04-21 07:47:14 +00:00
vyshane 63b816ab56 Added default values for not null columns in table creation sql 2006-04-12 08:44:59 +00:00
nfreear 72a877f8c9 Bugtracker 5023, fixes 'Database upgrade issue: 'relation "backup_files_u" already exists in...' Added, {$CFG->prefix} 2006-03-29 11:33:59 +00:00
anthonyforth 88629fc419 Rename backup_ids_uk constraint to include prefix to allow easy installation of multiple instances from one database. 2006-03-21 10:31:28 +00:00
patrickslee cb8229d0a8 UTF8 migration - now supporting PostgreSQL 2006-03-10 03:43:33 +00:00
skodak 38b7336ed1 short php tags 2006-03-07 21:35:13 +00:00
toyomoyo 4c64486f0c NO_CONV for backup_log_info 2006-03-02 01:33:00 +00:00
toyomoyo f841494c62 see changes for admin/utfdbmigrate.php 2006-02-24 08:20:13 +00:00
moodler 136b6ab33f changed to use utfconvert function 2006-01-31 02:15:21 +00:00
moodler b250d8b32b bug fixing indexing problem 2006-01-25 06:07:52 +00:00
stronk7 b1a88d0413 Part of Bug 4583. Now backup tables are moodle-style compliant.
Also, the 4th parameter used in insert_record() has been erased
to avoid the bug itself. PortgreSQL upgrade not tested!
(http://moodle.org/bugs/bug.php?op=show&bugid=4583)
2006-01-16 10:23:48 +00:00
toyomoyo 85ef664d10 bug fixes 2006-01-16 02:26:54 +00:00
toyomoyo 7c5406967d some bug fixes 2006-01-12 02:39:13 +00:00
toyomoyo fb7b685530 adding utf8 support scripts 2006-01-09 06:12:18 +00:00
stronk7 ad4f774cd4 THEME is out of this directory.
I hope to have done it correctly!
2005-01-28 00:01:20 +00:00
paca70 6f01df4957 Added missing "(" 2004-01-14 18:25:25 +00:00
stronk7 be3737bfc0 Creation of needed DB structures (prefix_backup_courses and
prefix_backup_log) to store info about scheduled backups.

NOTE: PostreSQL and Oracle not tested !!
2003-12-08 22:50:56 +00:00
paca70 45a3ca96ae Now backuptables gets created. (Still untested) 2003-12-01 22:58:49 +00:00
stronk7 3968be8fce Solved one small typo with prefix.. :-) 2003-11-27 22:57:18 +00:00
stronk7 fe27d33f4f Included support for new backup_config table.
(postgresql and oracle versions not tested !!)
2003-11-27 22:53:30 +00:00
les_kopari 1930ab3694 Oracle tables, etc converted from mysql. 2003-09-13 07:43:55 +00:00
paca70 d150f5b476 Quick (untested) fix to make table and index creation work. 2003-08-28 18:24:00 +00:00
stronk7 d04983d8a3 Now restoring workshops are working too !!
Now all is ready to be 1.1 Beta 1.
Congratulations everybody !!
Anyway, some polish must be done, friends...
2003-08-25 22:40:38 +00:00
moodler e6ea5c0664 Fixed some bad Postgres SQL that I made! :-) 2003-08-20 12:09:15 +00:00
moodler 10dcde409b Further integration of backup into main Moodle.
The database checks/upgrades are now done on the main
admin page like the other modules.

The database files are now standard format .sql and .php files

PostgreSQL support was added - BUT HAS NOT BEEN TESTED YET!!
2003-08-01 13:59:17 +00:00
stronk7 10453b424e Updated version to 2003061100 and modify backup tables (mediumtext) 2003-06-12 17:40:55 +00:00
stronk7 5881bb7e3c Changed info field in backp_ids to store text data
(used when restoring long portions of data9
2003-05-24 09:23:05 +00:00
stronk7 3868b9c666 Finished the check phase. Ready to begin the execute phase. 2003-05-04 21:01:47 +00:00
stronk7 1b502431a8 Commented the "needed users" option (too complex for this initial release).
Check all and course users.
2003-05-04 01:10:20 +00:00
stronk7 04aa5b2de1 To mantain updated the db with the auto-update feature.
This file is for mysql installations. Every DB must have
its own file.
2003-05-03 23:19:07 +00:00