<?php

use yii\db\Migration;

/**
 * Class m191111_101658_create_table_area
 */
class m191111_101658_create_table_area extends Migration
{
    /**
     * {@inheritdoc}
     */
    public function up()
    {
        $sql = file_get_contents(__DIR__."/sql/area.sql");
        $this->execute($sql);
    }

    /**
     * {@inheritdoc}
     */
    public function down()
    {
        $this->dropTable("area");
        return true;
    }
}