diff options
author | Victor Costan <costan@gmail.com> | 2012-05-09 23:38:24 -0400 |
---|---|---|
committer | Victor Costan <costan@gmail.com> | 2012-05-21 03:21:32 -0400 |
commit | 36fdb728c63f9788c4c646a00c73933f59165789 (patch) | |
tree | dd3861508c89d2461ddbf6727887d3c8b961c883 /activerecord/test/schema | |
parent | b0f8355d2813c375bf9242071131e8c5a350bcf0 (diff) | |
download | rails-36fdb728c63f9788c4c646a00c73933f59165789.tar.gz rails-36fdb728c63f9788c4c646a00c73933f59165789.tar.bz2 rails-36fdb728c63f9788c4c646a00c73933f59165789.zip |
Postgresql doesn't accept limits on binary (bytea) columns.
Diffstat (limited to 'activerecord/test/schema')
-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 7028b7fd1b..d6eed1552f 100644 --- a/activerecord/test/schema/schema.rb +++ b/activerecord/test/schema/schema.rb @@ -75,6 +75,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| |