import { BaseSchema } from '@adonisjs/lucid/schema' /** Ranges whose XOVER chunks are kept in the corpus (CORPUS_DIR) for the grouping sweeps. */ export default class extends BaseSchema { async up() { this.schema.raw(`ALTER TABLE ranges ADD COLUMN IF NOT EXISTS capture boolean NOT NULL DEFAULT false`) } async down() { this.schema.raw(`ALTER TABLE ranges DROP COLUMN IF EXISTS capture`) } }