From 76313b9ebdb1f12b6c1bc90abff9a48382ab27a3 Mon Sep 17 00:00:00 2001 From: ejclaw Date: Tue, 28 Apr 2026 11:17:22 +0900 Subject: [PATCH] Remove duplicate work item attachment migration from owner branch --- src/db/migrations/013_work-item-attachments.ts | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 src/db/migrations/013_work-item-attachments.ts diff --git a/src/db/migrations/013_work-item-attachments.ts b/src/db/migrations/013_work-item-attachments.ts deleted file mode 100644 index 5bc7b26..0000000 --- a/src/db/migrations/013_work-item-attachments.ts +++ /dev/null @@ -1,17 +0,0 @@ -import type { Database } from 'bun:sqlite'; - -import { tableHasColumn } from './helpers.js'; -import type { SchemaMigrationDefinition } from './types.js'; - -export const WORK_ITEM_ATTACHMENTS_MIGRATION: SchemaMigrationDefinition = { - version: 13, - name: 'work_item_attachments', - apply(database: Database) { - if (!tableHasColumn(database, 'work_items', 'attachment_payload')) { - database.exec(` - ALTER TABLE work_items - ADD COLUMN attachment_payload TEXT - `); - } - }, -};