<?php

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

/**
 * Class RolesMigration_211
 */
class StranasSurveyAnswerAttachmentMigration_164 extends Migration
{
    /**
     * Run the migrations
     *
     * @return void
     */
    public function up()
    {
        self::$connection->execute('
        ALTER TABLE jaga.stranas_survey_answer_attachment
            DROP COLUMN uuid,
            DROP COLUMN filename,
            ADD COLUMN id_attachment int
        ');
    }

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