10 Commits

Author SHA1 Message Date
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
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
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
fe27d33f4f Included support for new backup_config table.
(postgresql and oracle versions not tested !!)
2003-11-27 22:53:30 +00:00
paca70
d150f5b476 Quick (untested) fix to make table and index creation work. 2003-08-28 18:24:00 +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