database/migrations/2016_08_01_061923_create_service_hosts_table.php
public function up()
    {
        Schema::create('cas_service_hosts', function (Blueprint $table) {
            $table->increments('id');
            $table->string('host')->charset('utf8')->collate('utf8_general_ci')->unique();
            $table->integer('service_id')->unsigned();
            $table->foreign('service_id')->references('id')->on('cas_services');
        });
    }
public function up()
    {
        Schema::create('cas_service_hosts', function (Blueprint $table) {
            $table->increments('id');
            $table->string('host')->charset('utf8')->collate('utf8_general_ci')->unique();
            $table->integer('service_id')->unsigned();
            $table->foreign('service_id')->references('id')->on('cas_services');
        });
    }
Run the migrations.

@return void