升级老版本数据库
()
| 471 | |
| 472 | // 升级老版本数据库 |
| 473 | func (this *SQLiteFileList) upgradeOldDB() { |
| 474 | if len(this.oldDir) == 0 { |
| 475 | return |
| 476 | } |
| 477 | _ = this.UpgradeV3(this.oldDir, false) |
| 478 | } |
| 479 | |
| 480 | func (this *SQLiteFileList) UpgradeV3(oldDir string, brokenOnError bool) error { |
| 481 | // index.db |