diff --git a/migrations/1780378340194_system-collection-description.js b/migrations/1780378340194_system-collection-description.js index 89b2abb..2998024 100644 --- a/migrations/1780378340194_system-collection-description.js +++ b/migrations/1780378340194_system-collection-description.js @@ -13,6 +13,9 @@ export const shorthands = undefined; */ export const up = (pgm) => { pgm.sql(` + ALTER TABLE collections + ADD COLUMN IF NOT EXISTS is_system_collection BOOLEAN DEFAULT false; + UPDATE collections SET description = 'Automatically syncs with My Collection. This list cannot be deleted or made public.' WHERE is_system_collection = true