mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 14:05:46 +01:00
updated schema date
This commit is contained in:
@@ -10,7 +10,8 @@ var RDB = require('./redis.js'),
|
||||
schemaDate, thisSchemaDate;
|
||||
|
||||
Upgrade.check = function(callback) {
|
||||
var latestSchema = new Date(2013, 10, 22).getTime();
|
||||
// IMPORTANT: REMEMBER TO UPDATE VALUE OF latestSchema
|
||||
var latestSchema = new Date(2013, 10, 26).getTime();
|
||||
|
||||
RDB.get('schemaDate', function(err, value) {
|
||||
if (parseInt(value, 10) >= latestSchema) {
|
||||
|
||||
Reference in New Issue
Block a user