sendou.ink/migrations/120-custom-theme.js
Kalle fef1ffc955
Design refresh + a bunch of stuff (#2864)
Co-authored-by: hfcRed <hfcred@gmx.net>
2026-03-19 17:51:42 +02:00

14 lines
397 B
JavaScript

export function up(db) {
db.transaction(() => {
db.prepare(
/* sql */ `alter table "User" add "customTheme" text default null`,
).run();
db.prepare(/* sql */ `alter table "User" drop column "css"`).run();
db.prepare(
/* sql */ `alter table "AllTeam" add "customTheme" text default null`,
).run();
db.prepare(/* sql */ `alter table "AllTeam" drop column "css"`).run();
})();
}