import { BaseSchema } from '@adonisjs/lucid/schema' /** TABLESAMPLE SYSTEM_ROWS: the stats' sample of the catalog at a fixed size (a percentage read 30 s of random pages on the HDD at 7M releases). */ export default class extends BaseSchema { async up() { this.schema.raw(`CREATE EXTENSION IF NOT EXISTS tsm_system_rows`) } async down() { this.schema.raw(`DROP EXTENSION IF EXISTS tsm_system_rows`) } }