<?php

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

class CreateLikeableTables extends Migration {

	public function up() {
		
		Schema::create('likeable_likes', function(Blueprint $table) {
			$table->increments('id');
			$table->string('likable_id', 36);
			$table->string('likable_type', 255);
			$table->string('user_id', 36)->index();
			$table->timestamps();
			$table->unique(['likable_id', 'likable_type', 'user_id'], 'likeable_likes_unique');
		});
		
		Schema::create('likeable_like_counters', function(Blueprint $table) {
			$table->increments('id');
			$table->string('likable_id', 36);
			$table->string('likable_type', 255);
			$table->integer('count')->unsigned()->default(0);
			$table->unique(['likable_id', 'likable_type'], 'likeable_counts');
		});
		
	}

	public function down() {
		Schema::drop('likeable_likes');
		Schema::drop('likeable_like_counters');
	}
}
<?php

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

class CreateLikeableTables extends Migration {

	public function up() {
		
		Schema::create('likeable_likes', function(Blueprint $table) {
			$table->increments('id');
			$table->string('likable_id', 36);
			$table->string('likable_type', 255);
			$table->string('user_id', 36)->index();
			$table->timestamps();
			$table->unique(['likable_id', 'likable_type', 'user_id'], 'likeable_likes_unique');
		});
		
		Schema::create('likeable_like_counters', function(Blueprint $table) {
			$table->increments('id');
			$table->string('likable_id', 36);
			$table->string('likable_type', 255);
			$table->unsignedInteger('count')->default(0);
			$table->unique(['likable_id', 'likable_type'], 'likeable_counts');
		});
		
	}

	public function down() {
		Schema::drop('likeable_likes');
		Schema::drop('likeable_like_counters');
	}
}

Use the shortcut method for unsigned integer
Use the shortcut method for unsigned integer