Skip to content

Commit fdc8a2c

Browse files
authored
Merge pull request #41 from thomascombe/fix/url-column-length
Change string to text column to allow long URL
2 parents 2c456a1 + 2e114d7 commit fdc8a2c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Migrations/2019_07_15_000000_create_firewall_logs_table.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ public function up()
1818
$table->string('level')->default('medium');
1919
$table->string('middleware');
2020
$table->integer('user_id')->nullable();
21-
$table->string('url')->nullable();
21+
$table->text('url')->nullable();
2222
$table->string('referrer')->nullable();
2323
$table->text('request')->nullable();
2424
$table->timestamps();
2525
$table->softDeletes();
26-
26+
2727
$table->index('ip');
2828
});
2929
}

0 commit comments

Comments
 (0)