/** * @athenna/database * * (c) João Lenon * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ import type { DatabaseImpl } from '#src/database/DatabaseImpl'; export declare abstract class BaseMigration { /** * Define the database connection that the * migration will use. */ static connection(): string; /** * Run the migrations. */ abstract up(db: DatabaseImpl): Promise; /** * Reverse the migrations. */ abstract down(db: DatabaseImpl): Promise; }