<?php 

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

/**
 * Class DiskusiMigration_121
 */
class DiskusiMigration_121 extends Migration
{
    /**
     * Define the table structure
     *
     * @return void
     */
    public function morph()
    {
        
    }

    /**
     * Run the migrations
     *
     * @return void
     */
    public function up()
    {
		self::$connection->execute(
			'ALTER TABLE jaga.diskusi
				ADD COLUMN link_terkait text DEFAULT \'\';

			ALTER TABLE jaga.diskusi
				ADD COLUMN is_deleted smallint NOT NULL DEFAULT 0;
		');
    }

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

    }

}
