import { BaseMigration } from './base-migration.ts';
import type { TQueryFunction } from '../types.ts';

export class Migration016ServiceVolumes extends BaseMigration {
  readonly version = 16;
  readonly description = 'Add persistent volume declarations to services';

  up(query: TQueryFunction): void {
    query(`ALTER TABLE services ADD COLUMN volumes TEXT DEFAULT '[]'`);
  }
}
