Skip to content

Commit 7dc91f8

Browse files
authored
Fix for 'Specified key was too long'
1 parent 9525418 commit 7dc91f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Database/Migrations/20190319121802_create_table_visits.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function up()
3030
$this->forge->addKey('session_id');
3131
$this->forge->addKey('user_id');
3232
$this->forge->addKey('ip_address');
33-
$this->forge->addKey(['host', 'path', 'query']);
33+
$this->forge->addKey(['host', 'path']);
3434
$this->forge->addKey('created_at');
3535
$this->forge->addKey('updated_at');
3636

0 commit comments

Comments
 (0)