# metricool/2.0.2/app/Interfaces/MigrationInterface.php

Metricool – Social media and site statistics, version 2.0.2. 21 lines.

- Page: https://pluginprobe.com/plugins/metricool/2.0.2/code/app/Interfaces/MigrationInterface.php
- Raw: https://pluginprobe.com/plugins/metricool/2.0.2/raw/app/Interfaces/MigrationInterface.php
- Modified: 2026-06-11T08:45:10+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/metricool/2.0.2/code/app/Interfaces/MigrationInterface.php#L10-L20`.

```php
<?php

declare(strict_types=1);

namespace Metricool\Interfaces;

interface MigrationInterface
{
    /**
     * Version to run this migration for.
     */
    public function version(): string;

    /**
     * Perform schema/data changes required for this migration. This method is
     * called from the code of the new version after an update. Make sure to
     * work within that context.
     */
    public function up(): void;
}

```
