From 3e2954f4e32a35b48eccad6f977cd3e003908404 Mon Sep 17 00:00:00 2001 From: Dragory Date: Sat, 24 Feb 2018 12:58:20 +0200 Subject: [PATCH] legacyMigrator: set blocked_by in migrated blocks to null --- src/legacy/legacyMigrator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/legacy/legacyMigrator.js b/src/legacy/legacyMigrator.js index 3f4dfd3..2c491e3 100644 --- a/src/legacy/legacyMigrator.js +++ b/src/legacy/legacyMigrator.js @@ -187,7 +187,7 @@ async function migrateBlockedUsers() { await knex('blocked_users').insert({ user_id: userId, user_name: '', - blocked_by: 0, + blocked_by: null, blocked_at: now }); }