<?php

declare(strict_types=1);

namespace Australcode\Rewards\Infrastructure\Database\Migrations;

/**
 * A single, versioned, forward-only schema migration.
 *
 * Naming convention: M{NNNN}{PascalCase}, e.g. M0001CreateCoreTables.
 * version() returns the integer NNNN (1 for M0001). The Migrator records
 * applied versions in wp_acrwd_migrations and skips already-applied ones.
 */
interface Migration {

	public function version(): int;

	public function description(): string;

	public function up(): void;
}
