Skip to content

Commit 1293c6c

Browse files
authored
Merge pull request #179 from ilveroluca/issue_170
Fix migration to also work with PostgreSQL (issue #170)
2 parents 4f8aa6e + 8b45969 commit 1293c6c

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)