<?php

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

class m151021_062520_alter__table__ticket_type__timestamp__fields__to__date extends Migration
{
    public function up()
    {
    	$this->alterColumn('ticket_type', 'created_at', 'datetime' );
    	$this->alterColumn('ticket_type', 'updated_at', 'datetime' );
    }

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

        return false;
    }

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

    public function safeDown()
    {
    }
    */
}
