diff options
author | Victor Costan <costan@gmail.com> | 2012-05-09 23:38:24 -0400 |
---|---|---|
committer | Victor Costan <costan@gmail.com> | 2012-05-09 23:38:24 -0400 |
commit | 99ed99bb5178655238add0bfc45e36c2a5686daf (patch) | |
tree | 5fdf28ad4160c0bf538e01c6373324a4a1aa7e1f /activerecord/test | |
parent | ea40990f4b64e4518d9f34e3d3101d2480217e19 (diff) | |
download | rails-99ed99bb5178655238add0bfc45e36c2a5686daf.tar.gz rails-99ed99bb5178655238add0bfc45e36c2a5686daf.tar.bz2 rails-99ed99bb5178655238add0bfc45e36c2a5686daf.zip |
Postgresql doesn't accept limits on binary (bytea) columns.
Diffstat (limited to 'activerecord/test')
-rw-r--r-- | activerecord/test/schema/schema.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/test/schema/schema.rb b/activerecord/test/schema/schema.rb index cef08cd99c..b18f9779be 100644 --- a/activerecord/test/schema/schema.rb +++ b/activerecord/test/schema/schema.rb @@ -78,6 +78,7 @@ ActiveRecord::Schema.define do create_table :binaries, :force => true do |t| t.string :name t.binary :data + t.binary :short_data, :limit => 2048 end create_table :birds, :force => true do |t| |