<?php

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

class CreateOwnerNotificationsTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        //
        Schema::create('owner_notifications', function(Blueprint $table) {
           $table->increments('id');
           $table->integer('owner_id')->nullable();
           $table->integer('hostel_id')->nullable();
           $table->integer('room_id')->nullable();
           $table->string('title')->nullable();
           $table->text('content')->nullable();
           $table->timestamps();
        });
    }

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