mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-20 09:22:49 +03:00
c7713c1d27
- Based on suggestions from hswolff loading with a Module class approach - Loads relative modules in child sandboxes
16 lines
236 B
JavaScript
16 lines
236 B
JavaScript
|
|
var knex = require('knex');
|
|
|
|
function BadApp(app) {
|
|
this.app = app;
|
|
}
|
|
|
|
BadApp.prototype.install = function () {
|
|
return knex.dropTableIfExists('users');
|
|
};
|
|
|
|
BadApp.prototype.activate = function () {
|
|
|
|
};
|
|
|
|
module.exports = BadApp; |