<?php

use yii\db\Schema;
use yii\db\Migration;

class m160124_204003_alter__table__contract__add__field__ticket_type extends Migration
{
    public function up()
    {
    	$this->addColumn("contract", "id_ticket_type",  "int");
    }

    public function down()
    {
        echo "m160124_204003_alter__table__contract__add__field__ticket_type cannot be reverted.\n";

        return false;
    }

    /*
    // Use safeUp/safeDown to run migration code within a transaction
    public function safeUp()
    {
    }

    public function safeDown()
    {
    }
    */
}
