Version 5 (modified by jazz, 16 years ago) (diff) |
---|
2009-01-14
- Trac Wiki 改名的終極方法: 到 db/trac.db 去改內容
# sqlite3 db/trac.db sqlite> update wiki set name='BOINC/Server' where name='BOINC_Server';
- 如果有附件(Attachment)的話,比較麻煩 (1) 改 wiki (2) 改 attachment (3) 必須到 attachments/wiki/ 目錄去搬檔案
# sqlite3 db/trac.db sqlite> update wiki set name='FlyCircuit/2008-03-26' where name='FlyCircit/2008-03-26'; sqlite> update attachment set id='FlyCircuit/2008-03-26' where id='FlyCircit/2008-03-26'; sqlite> update wiki set name='FlyCircuit/2008-06-24' where name='FlyCircit/2008-06-24'; sqlite> update attachment set id='FlyCircuit/2008-06-24' where id='FlyCircit/2008-06-24';