Remove duplicate work item attachment migration from owner branch

This commit is contained in:
ejclaw
2026-04-28 11:17:22 +09:00
parent c89da09f27
commit 76313b9ebd

View File

@@ -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
`);
}
},
};