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

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

- Page: https://pluginprobe.com/plugins/metricool/trunk/code/app/Interfaces/MigrationInterface.php
- Raw: https://pluginprobe.com/plugins/metricool/trunk/raw/app/Interfaces/MigrationInterface.php
- Modified: 2026-08-20T14:08:30+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/trunk/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;
}

```
