<?php

namespace {{ appNamespace }}\Models\Migrations;

use Hubleto\Framework\Migration;

class {{ model }}_{{ migrationCounter }} extends Migration
{

  public function upgradeSchema(): void
  {
    {{ dropTableIfExists| raw }}
    {{ upgradeSchema|raw }}
  }

  public function downgradeSchema(): void
  {
    {{ dropTableIfExists| raw }}
  }

  public function upgradeForeignKeys(): void
  {
    {{ upgradeForeignKeys|raw }}
  }

  public function downgradeForeignKeys(): void
  {
    {{ downgradeForeignKeys|raw }}
  }
}