/**
 * Migration: AddStartTasksTable
 * Modifies tasks table
 */
import { Schema as MigrationSchema } from '../../src/migrations/schema';
export const migration = {
    /**
     * Run migration
     */
    async up(db) {
        const schema = MigrationSchema.create(db);
        await schema.table('tasks', (table) => {
            table.string('start');
        });
    },
    /**
     * Rollback migration
     */
    async down(_db) {
        // Note: dropping columns/FKs varies by driver; SQLite/D1 requires a table rebuild.
    },
};
