Skip to content
Snippets Groups Projects
Commit 9f9b8d1c authored by syuilo's avatar syuilo
Browse files

Update 1644010796173-convert-hard-mutes.js

parent c456825d
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@ module.exports = class convertHardMutes1644010796173 {
name = 'convertHardMutes1644010796173'
async up(queryRunner) {
let entries = await queryRunner.query(`SELECT "userId", "mutedWords" FROM "user_profile"`);
let entries = await queryRunner.query(`SELECT "userId", "mutedWords" FROM "user_profile" WHERE "userHost" IS NULL`);
for(let i = 0; i < entries.length; i++) {
let words = entries[i].mutedWords
.map(line => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment