hedgedoc/lib/migrations
David Mehren f606a7825f refactor(migrations): move cleanup code into migration
We cannot execute the cleanup script as a subprocess with sqlite,
as we now wrap the migrations in a SAVEPOINT, which blocks a second
process.

This moves the cleanup code into the migration file, so it can be
executed in-process.

Signed-off-by: David Mehren <git@herrmehren.de>
2022-11-06 22:24:48 +01:00
..
20150504155329-create-users.js fix: Add missing migration 2017-03-27 19:23:00 +08:00
20150508114741-create-notes.js fix: Add missing migration 2017-03-27 19:23:00 +08:00
20150515125813-create-temp.js fix: Add missing migration 2017-03-27 19:23:00 +08:00
20150702001020-update-to-0_3_1.js Catch more errors 2020-12-02 17:22:27 +01:00
20150915153700-change-notes-title-to-text.js fix: Other dialect duplicated add index problem 2017-03-28 15:28:33 +08:00
20160112220142-note-add-lastchange.js Catch more errors 2020-12-02 17:22:27 +01:00
20160420180355-note-add-alias.js Catch more errors 2020-12-02 17:22:27 +01:00
20160515114000-user-add-tokens.js Catch more errors 2020-12-02 17:22:27 +01:00
20160607060246-support-revision.js Catch more errors 2020-12-02 17:22:27 +01:00
20160703062241-support-authorship.js Add missing catch 2020-12-02 19:39:06 +01:00
20161009040430-support-delete-note.js Catch more errors 2020-12-02 17:22:27 +01:00
20161201050312-support-email-signin.js Catch more errors 2020-12-02 17:22:27 +01:00
20171009121200-longtext-for-mysql.js fix: migration should return promise 2019-08-12 14:13:34 +02:00
20180209120907-longtext-of-authorship.js fix: migration should return promise 2019-08-12 14:13:34 +02:00
20180306150303-fix-enum.js fix: migration should return promise 2019-08-12 14:13:34 +02:00
20180326103000-use-text-in-tokens.js Use TEXT instead of STRING for tokens 2018-03-26 15:55:39 +02:00
20180525153000-user-add-delete-token.js Catch more errors 2020-12-02 17:22:27 +01:00
20200321153000-fix-account-deletion.js refactor(migrations): move cleanup code into migration 2022-11-06 22:24:48 +01:00
20220901102800-convert-history-to-longtext.js fix: Change data type of history attribute in user table to long text 2022-09-25 11:09:23 +02:00