aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2012-05-17 10:56:39 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2012-05-17 10:56:39 -0700
commit8067857bdfcea7bb1f916613dabfc96502932fbf (patch)
tree3732ac834a45ab2ecccbbd685e53ba4b73b9643a /activerecord/test
parent165acf393fc16a89770829284ec3faa52844800f (diff)
parent99ed99bb5178655238add0bfc45e36c2a5686daf (diff)
downloadrails-8067857bdfcea7bb1f916613dabfc96502932fbf.tar.gz
rails-8067857bdfcea7bb1f916613dabfc96502932fbf.tar.bz2
rails-8067857bdfcea7bb1f916613dabfc96502932fbf.zip
Merge pull request #6238 from pwnall/pgsql_bytea_limit
Postgresql doesn't accept limits on binary (bytea) columns.
Diffstat (limited to 'activerecord/test')
-rw-r--r--activerecord/test/schema/schema.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/test/schema/schema.rb b/activerecord/test/schema/schema.rb
index 3fc58c25b1..5bcb9652cd 100644
--- a/activerecord/test/schema/schema.rb
+++ b/activerecord/test/schema/schema.rb
@@ -80,6 +80,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|