Skip to content

Commit 1aa6b2e

Browse files
committed
missing jsonb column method (AR 4.2)
1 parent d9418ea commit 1aa6b2e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/arjdbc/postgresql/adapter.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1435,6 +1435,10 @@ def json(name, options = {})
14351435
column(name, 'json', options)
14361436
end
14371437

1438+
def jsonb(name, options = {})
1439+
column(name, :jsonb, options)
1440+
end
1441+
14381442
def bit(name, options)
14391443
column(name, 'bit', options)
14401444
end

0 commit comments

Comments
 (0)