<?php

use Phalcon\Db\Column;
use Phalcon\Db\Index;
use Phalcon\Db\Reference;
use Phalcon\Mvc\Model\Migration;

/**
 * Class Public.profilesMigration_100
 */
class InitMigration_100 extends Migration
{
  /**
     * Define the table structure
     *
     * @return void
     */
  public function morph()
  { }

  /**
     * Run the migrations
     *
     * @return void
     */
  public function up()
  {
    $backupSql = file_get_contents(__DIR__ . DIRECTORY_SEPARATOR . 'backup_20181003.sql');
    self::$connection->execute($backupSql);
  }

  /**
     * Reverse the migrations
     *
     * @return void
     */
  public function down()
  { }
}
