<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
use Illuminate\Support\Facades\DB;

class AddDateToPropertyRoomRateChannelMapping extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {

        DB::statement("
ALTER TABLE `property_room_rate_channel_mapping`
ADD COLUMN `has_date` tinyint(4) NOT NULL AFTER `room_rate_mapping_id`,
ADD COLUMN `start_date` date NULL AFTER `has_date`,
ADD COLUMN `end_date` date NULL AFTER `start_date`;

        ") ;
    }


}
