From 65fcc3119c334b75dd13bcfdebf186afdc580a8f Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 15 May 2017 22:22:03 +0200 Subject: First typescript iteration --- .../initializers/migrations/0045-user-display-nsfw.js | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 server/initializers/migrations/0045-user-display-nsfw.js (limited to 'server/initializers/migrations/0045-user-display-nsfw.js') diff --git a/server/initializers/migrations/0045-user-display-nsfw.js b/server/initializers/migrations/0045-user-display-nsfw.js deleted file mode 100644 index 03624e593..000000000 --- a/server/initializers/migrations/0045-user-display-nsfw.js +++ /dev/null @@ -1,19 +0,0 @@ -'use strict' - -// utils = { transaction, queryInterface, sequelize, Sequelize } -exports.up = function (utils, finalCallback) { - const q = utils.queryInterface - const Sequelize = utils.Sequelize - - const data = { - type: Sequelize.BOOLEAN, - allowNull: false, - defaultValue: false - } - - q.addColumn('Users', 'displayNSFW', data, { transaction: utils.transaction }).asCallback(finalCallback) -} - -exports.down = function (options, callback) { - throw new Error('Not implemented.') -} -- cgit v1.2.3