Skip to content

Commit

Permalink
Actually fix sqlite3 collation issue
Browse files Browse the repository at this point in the history
  • Loading branch information
cviebrock committed Feb 11, 2024
1 parent 28ddb43 commit 165b078
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions resources/database/migrations/create_taggable_table.php.stub
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ class CreateTaggableTable extends Migration
$collation = null;
break;
case 'sqlite':
$collation = 'binary';
break;
case 'sqlsrv':
default:
$collation = $charset .'_bin';
Expand Down
1 change: 0 additions & 1 deletion tests/ConnectionTests.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ protected function getEnvironmentSetUp($app)
$app['config']->set('database.connections.test2', [
'driver' => 'sqlite',
'database' => ':memory:',
'collation' => 'utf8mb4',
'prefix' => 'test2',
]);

Expand Down

0 comments on commit 165b078

Please sign in to comment.