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() {