Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Commit

Permalink
json for pg
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfy-j committed Oct 7, 2018
1 parent d8d03f2 commit 265a33f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Driver/Postgres/Schema/PostgresColumn.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class PostgresColumn extends AbstractColumn
'longBinary' => 'bytea',

//Additional types
'json' => 'text',
'json' => 'json',
];

/**
Expand All @@ -101,7 +101,7 @@ class PostgresColumn extends AbstractColumn
'time' => ['time', 'time with time zone', 'time without time zone'],
'timestamp' => ['timestamp', 'timestamp with time zone', 'timestamp without time zone'],
'binary' => ['bytea'],
'json' => ['text'],
'json' => ['json'],
];

/**
Expand Down

0 comments on commit 265a33f

Please sign in to comment.