Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Use text database type for String on PostgreSQL

  • Loading branch information...
commit 20d7bc5636829d0604c0f003734154813ea5dba8 1 parent 6f32295
@jeremyevans authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/sequel_core/adapters/shared/postgres.rb
View
2  lib/sequel_core/adapters/shared/postgres.rb
@@ -167,7 +167,7 @@ module DatabaseMethods
SQL_ROLLBACK = 'ROLLBACK'.freeze
SQL_RELEASE_SAVEPOINT = 'RELEASE SAVEPOINT autopoint_%d'.freeze
SYSTEM_TABLE_REGEXP = /^pg|sql/.freeze
- TYPES = Sequel::Schema::SQL::TYPES.merge(File=>'bytea')
+ TYPES = Sequel::Schema::SQL::TYPES.merge(File=>'bytea', String=>'text')
# Creates the function in the database. See create_function_sql for arguments.
def create_function(*args)
Please sign in to comment.
Something went wrong with that request. Please try again.