|
|
|
@ -12,7 +12,7 @@ Upgrade.check = function(callback) {
|
|
|
|
|
var latestSchema = new Date(2013, 10, 11).getTime();
|
|
|
|
|
|
|
|
|
|
RDB.get('schemaDate', function(err, value) {
|
|
|
|
|
if (parseInt(value, 10) > latestSchema) {
|
|
|
|
|
if (parseInt(value, 10) >= latestSchema) {
|
|
|
|
|
callback(true);
|
|
|
|
|
} else {
|
|
|
|
|
callback(false);
|
|
|
|
|