Skip to content

Commit 8b45969

Browse files
committed
Fix migration to also work with PostgreSQL (issue #170)
1 parent 4f8aa6e commit 8b45969

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config/Migrations/20210101154551_Initial.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ public function up()
362362
'limit' => null,
363363
'null' => true,
364364
])
365-
->addColumn('picture', 'blob', [
365+
->addColumn('picture', 'binary', [
366366
'default' => null,
367367
'null' => true,
368368
])
@@ -457,7 +457,7 @@ public function up()
457457
'limit' => null,
458458
'null' => true,
459459
])
460-
->addColumn('picture', 'blob', [
460+
->addColumn('picture', 'binary', [
461461
'default' => null,
462462
'null' => true,
463463
])

0 commit comments

Comments
 (0)