From 6d603eda86d092442765e927af4b5cb478a9f18f Mon Sep 17 00:00:00 2001 From: azivner Date: Wed, 29 Nov 2017 20:48:58 -0500 Subject: [PATCH] drop links and images tables --- migrations/0046__drop_links_and_images.sql | 2 ++ services/migration.js | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 migrations/0046__drop_links_and_images.sql diff --git a/migrations/0046__drop_links_and_images.sql b/migrations/0046__drop_links_and_images.sql new file mode 100644 index 000000000..6536908d1 --- /dev/null +++ b/migrations/0046__drop_links_and_images.sql @@ -0,0 +1,2 @@ +DROP TABLE IF EXISTS links; +DROP TABLE IF EXISTS images; \ No newline at end of file diff --git a/services/migration.js b/services/migration.js index d2e0299c6..ebb32ce6b 100644 --- a/services/migration.js +++ b/services/migration.js @@ -4,7 +4,7 @@ const options = require('./options'); const fs = require('fs-extra'); const log = require('./log'); -const APP_DB_VERSION = 45; +const APP_DB_VERSION = 46; const MIGRATIONS_DIR = "migrations"; async function migrate() {