Undo primary idx change
This commit is contained in:
@@ -12,7 +12,6 @@ class UpdateSessionsTable extends Migration
|
|||||||
public function up()
|
public function up()
|
||||||
{
|
{
|
||||||
Schema::table('sessions', function (Blueprint $table) {
|
Schema::table('sessions', function (Blueprint $table) {
|
||||||
$table->string('id')->change()->primary();
|
|
||||||
$table->index('user_id');
|
$table->index('user_id');
|
||||||
$table->index('last_activity');
|
$table->index('last_activity');
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user