import { BaseSchema } from '@adonisjs/lucid/schema' /** * Small releases the settler just settled (at most 3 files, under 1 MB), queued for the merger's sidecar fold * (app/services/sidecar_folder.ts): an .nfo, .sfv or .nzb that came apart from its upload (another counter, another * name) joins it. A queue, so the fold needn't scan the releases (LOG.md 2026-10-15 (57)). */ export default class extends BaseSchema { async up() { this.schema.raw(` CREATE TABLE fold_candidates ( release_id bigint PRIMARY KEY, created_at timestamptz NOT NULL DEFAULT now() )`) } async down() { this.schema.raw(`DROP TABLE IF EXISTS fold_candidates`) } }