Commit Graph

7 Commits

Author SHA1 Message Date
stronk7 ac3f72c899 Major rework of the wiki backup/restore.
It wasn' working fine because the wiki_pages table hadn't an id (primary key) field.

I've created, in the upgrade process, a temporary table to copy all the wiki_pages
records and then, drop and create again the table.

Tested under MySQL. Need to be tested (both creation and upgrade) under PostgreSQL!!!

Minor modifications to ewikimoodlelib.php to work with this new id field too. Seems to work
although deeper tests will be welcome (attachements, binary contents...)

Cross your fingers! ;-)
2005-02-21 17:55:54 +00:00
mjollnir_ 81c41b659e Merged from MOODLE_14_STABLE: Indexes for wiki and version bump (honoring partial freeze) 2004-11-21 21:16:41 +00:00
paca70 55bcf883c3 Fixes for new postgres database creation 2004-09-24 07:49:40 +00:00
moodler 71fe1da3f4 Database now stores userid, and page info is now more Moodley
(plus it doesn't show IP information to everyone!)

All old authors are not currently displayed  (I chose not to)
This is easy to fix if people want it, since the old author
string is still there in the database.
2004-08-22 16:41:54 +00:00
paca70 c670cbd0a9 More updates, but wiki is still working only partical. 2004-07-30 11:09:47 +00:00
paca70 08f3586975 Fixed uncorrect primary key for postgresql. 2004-07-30 10:42:59 +00:00
paca70 edf693decf Wery quickly tested and untested versions for Postgresql. 2004-07-28 08:51:05 +00:00