mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-09 07:31:51 +02:00
added template to upgrades folder
This commit is contained in:
15
src/upgrades/TEMPLATE
Normal file
15
src/upgrades/TEMPLATE
Normal file
@@ -0,0 +1,15 @@
|
||||
/* jslint node: true */
|
||||
'use strict';
|
||||
|
||||
var db = require('../database');
|
||||
|
||||
var async = require('async');
|
||||
var winston = require('winston');
|
||||
|
||||
module.exports = {
|
||||
name: 'User_friendly_upgrade_script_name',
|
||||
timestamp: Date.UTC(2017, 0, 1),
|
||||
method: function (callback) {
|
||||
// Do stuff here...
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user