main

mattermost/focalboard

Last updated at: 29/12/2023 09:41

000038_delete_hiddenBoardIDs_from_preferences.up.sql

TLDR

This SQL file deletes a row from the Preferences or {{.prefix}}preferences table, based on the value of the .plugin variable. The row that is deleted has a category of 'focalboard' and a name of 'hiddenBoardIDs'.

{{if .plugin}}
    DELETE FROM Preferences WHERE category = 'focalboard' AND name = 'hiddenBoardIDs';
{{else}}
    DELETE FROM {{.prefix}}preferences WHERE category = 'focalboard' AND name = 'hiddenBoardIDs';
{{end}}