Permalink
Browse files

Use text database type for String on PostgreSQL

  • Loading branch information...
1 parent 6f32295 commit 20d7bc5636829d0604c0f003734154813ea5dba8 @jeremyevans committed Jan 27, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 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)

0 comments on commit 20d7bc5

Please sign in to comment.