<?php

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

class UpdateAdmin2 extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        //
	    Schema::table('room_types', function(Blueprint $table) {
	    	$table->integer('long')->default(0);
	    	$table->integer('width')->default(0);
	    	$table->integer('max_peoples')->default(1);
	    });

	    Schema::table('amenities', function(Blueprint $table) {
		    $table->integer('user_id')->default(0);
	    });
    }

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