aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/schema
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2012-11-20 08:00:52 -0800
committerRafael Mendonça França <rafaelmfranca@gmail.com>2012-11-20 14:13:45 -0200
commit50f00463bd8348c35cc5dad40116e21323f6822f (patch)
treec749e764ce2832b095a448e800bb4fd27576d293 /activerecord/test/schema
parentbd87bd95646c2b94c602dff7d0a1f7e75c303e51 (diff)
downloadrails-50f00463bd8348c35cc5dad40116e21323f6822f.tar.gz
rails-50f00463bd8348c35cc5dad40116e21323f6822f.tar.bz2
rails-50f00463bd8348c35cc5dad40116e21323f6822f.zip
Merge pull request #8276 from pwnall/pgsql_text_limits
Postgresql doesn't accepts limits on text columns Conflicts: activerecord/CHANGELOG.md activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb
Diffstat (limited to 'activerecord/test/schema')
-rw-r--r--activerecord/test/schema/postgresql_specific_schema.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/activerecord/test/schema/postgresql_specific_schema.rb b/activerecord/test/schema/postgresql_specific_schema.rb
index 34e24b5a2e..35e12b1875 100644
--- a/activerecord/test/schema/postgresql_specific_schema.rb
+++ b/activerecord/test/schema/postgresql_specific_schema.rb
@@ -132,5 +132,10 @@ _SQL
_SQL
rescue #This version of PostgreSQL either has no XML support or is was not compiled with XML support: skipping table
end
+
+ create_table :limitless_fields, force: true do |t|
+ t.binary :binary, limit: 100_000
+ t.text :text, limit: 100_000
+ end
end