Skip to content

Commit

Permalink
Recognize string database type as string ruby type
Browse files Browse the repository at this point in the history
CUBRID uses the STRING type.
  • Loading branch information
jeremyevans committed Sep 25, 2012
1 parent 4f576be commit 7f21394
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sequel/database/query.rb
Expand Up @@ -605,7 +605,7 @@ def rollback_transaction_sql
# such as :integer or :string.
def schema_column_type(db_type)
case db_type
when /\A(character( varying)?|n?(var)?char|n?text)/io
when /\A(character( varying)?|n?(var)?char|n?text|string)/io
:string
when /\A(int(eger)?|(big|small|tiny)int)/io
:integer
Expand Down

0 comments on commit 7f21394

Please sign in to comment.