Merge branch 'master' into chat-message-notification-e2e-tests

This commit is contained in:
mahula 2025-04-11 13:12:00 +02:00 committed by GitHub
commit 6f708de78d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 2 deletions

View File

@ -28,7 +28,6 @@ const createDefaultAdminUser = async () => {
createdAt: toString(datetime()),
allowEmbedIframes: false,
showShoutsPublicly: false,
sendNotificationEmails: true,
deleted: false,
disabled: false
})-[:PRIMARY_EMAIL]->(e)`,

View File

@ -44,7 +44,7 @@ export async function down(next) {
// Implement your migration here.
await transaction.run(`
MATCH (user:User)
SET user.sendNotificationEmails = true
SET user.sendNotificationEmails = user.emailNotificationsMention
REMOVE user.emailNotificationsCommentOnObservedPost
REMOVE user.emailNotificationsMention
REMOVE user.emailNotificationsChatMessage