// users.webdav_learning_path was the folder the Learning Hub file browser opened // first. The browser went with Learning Hub, the Settings field that set it has // gone, and nothing reads the column. Nextcloud itself stays — connect, // disconnect, and exporting a note or a rendered resource all use // nextcloud_folder, which is a different column and still in use. exports.up = async function (pgm) { pgm.sql('ALTER TABLE users DROP COLUMN IF EXISTS webdav_learning_path'); }; exports.down = async function (pgm) { pgm.sql('ALTER TABLE users ADD COLUMN IF NOT EXISTS webdav_learning_path TEXT DEFAULT NULL'); };