Skip to content

Project NOMAD is an offline-first knowledge and education server. Wikipedia, thousands of books, courses, maps, and optional local AI, all running on hardware you own with no internet required.

TypeScript
379 B
Raw Blame
import { BaseSchema } from '@adonisjs/lucid/schema'

export default class extends BaseSchema {
  async up() {
    this.schema.dropTableIfExists('curated_collection_resources')
    this.schema.dropTableIfExists('curated_collections')
    this.schema.dropTableIfExists('zim_file_metadata')
  }

  async down() {
    // These tables are legacy and intentionally not recreated
  }
}