<?php

use Phalcon\Mvc\Model\Migration;

class StranasSurveyAnswerMigration_171 extends Migration
{
    /**
     * Run the migrations
     *
     * @return void
     */
    public function up()
    {
        self::$connection->execute('
        ALTER TABLE jaga.stranas_survey_answer ADD COLUMN verified_by int;
        ALTER TABLE jaga.stranas_survey_answer ADD COLUMN verified_at timestamp(6);
        ');
    }

    /**
     * Reverse the migrations
     *
     * @return void
     */
    public function down()
    {
        self::$connection->execute('
            ALTER TABLE jaga.stranas_survey_answer DROP COLUMN verified_by;
            ALTER TABLE jaga.stranas_survey_answer DROP COLUMN verified_at;
        ');
    }
}
