From 056d936df3be534964db50324d197d36f9fc5dec Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 9 Nov 2025 09:50:52 +0000 Subject: [PATCH] Add database migration for isPinned column in Envs table Co-authored-by: whyour <22700758+whyour@users.noreply.github.com> --- back/loaders/db.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/back/loaders/db.ts b/back/loaders/db.ts index ac142a2d..27d6f80e 100644 --- a/back/loaders/db.ts +++ b/back/loaders/db.ts @@ -56,6 +56,9 @@ export default async () => { try { await sequelize.query('alter table Crontabs add column task_after TEXT'); } catch (error) {} + try { + await sequelize.query('alter table Envs add column isPinned NUMBER'); + } catch (error) {} Logger.info('✌️ DB loaded'); } catch (error) {