forgot to alter this type

This commit is contained in:
flash 2016-08-01 00:11:13 +02:00
parent bdba845c46
commit 157525466c

View file

@ -156,7 +156,7 @@ class BaseTables extends Migration
$table->integer('attempt_timestamp') $table->integer('attempt_timestamp')
->unsigned(); ->unsigned();
$table->string('attempt_ip', 255); $table->binary('attempt_ip');
$table->integer('user_id') $table->integer('user_id')
->unsigned(); ->unsigned();
@ -254,7 +254,7 @@ class BaseTables extends Migration
->unsigned() ->unsigned()
->default(0); ->default(0);
$table->string('poster_ip', 40); $table->binary('poster_ip');
$table->integer('post_time') $table->integer('post_time')
->unsigned() ->unsigned()
@ -338,7 +338,7 @@ class BaseTables extends Migration
$table->integer('user_id') $table->integer('user_id')
->unsigned(); ->unsigned();
$table->string('user_ip', 255); $table->binary('user_ip');
$table->string('user_agent', 255) $table->string('user_agent', 255)
->nullable() ->nullable()
@ -506,9 +506,9 @@ class BaseTables extends Migration
->nullable() ->nullable()
->default(null); ->default(null);
$table->string('register_ip', 255); $table->binary('register_ip');
$table->string('last_ip', 255); $table->binary('last_ip');
$table->string('user_title', 64) $table->string('user_title', 64)
->nullable() ->nullable()