More helpful comment in Scholar.DB._migrateSchema()
This commit is contained in:
parent
3f398783d1
commit
6b5ba60acf
|
@ -407,7 +407,8 @@ Scholar.DB = new function(){
|
||||||
// Each block performs the changes necessary to move from the
|
// Each block performs the changes necessary to move from the
|
||||||
// previous revision to that one.
|
// previous revision to that one.
|
||||||
//
|
//
|
||||||
// N.B. Be sure to call _updateDBVersion(i) at the end of each block!
|
// N.B. Be sure to call _updateDBVersion(i) at the end of each block and
|
||||||
|
// update SCHOLAR_CONFIG['DB_VERSION'] to the target version
|
||||||
for (var i=parseInt(fromVersion) + 1; i<=toVersion; i++){
|
for (var i=parseInt(fromVersion) + 1; i<=toVersion; i++){
|
||||||
|
|
||||||
// For now, just wipe and recreate
|
// For now, just wipe and recreate
|
||||||
|
|
Loading…
Reference in New Issue
Block a user