Skip to content

Commit c5398e9

Browse files
committed
Fix problem with oracle (add size for varchar2)
1 parent 258f4d4 commit c5398e9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/ajax-datatables-rails/base.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ def aggregate_query
147147

148148
def typecast
149149
case config.db_adapter
150+
when :oracle then 'VARCHAR2(4000)'
150151
when :pg then 'VARCHAR'
151152
when :mysql2 then 'CHAR'
152153
when :sqlite3 then 'TEXT'

0 commit comments

Comments
 (0)