legacyMigrator: set blocked_by in migrated blocks to null

master
Dragory 2018-02-24 12:58:20 +02:00
parent c865eb9d56
commit 3e2954f4e3
1 changed files with 1 additions and 1 deletions

View File

@ -187,7 +187,7 @@ async function migrateBlockedUsers() {
await knex('blocked_users').insert({ await knex('blocked_users').insert({
user_id: userId, user_id: userId,
user_name: '', user_name: '',
blocked_by: 0, blocked_by: null,
blocked_at: now blocked_at: now
}); });
} }