1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Add comment to a table without model.

This table is being used to verify if the :limit options is being
ignored for text and binary columns
This commit is contained in:
Rafael Mendonça França 2012-11-28 11:11:11 -02:00
parent f3aaf6d7d1
commit f036862c0f

View file

@ -193,6 +193,7 @@ _SQL
rescue #This version of PostgreSQL either has no XML support or is was not compiled with XML support: skipping table
end
# This table is to verify if the :limit option is being ignored for text and binary columns
create_table :limitless_fields, force: true do |t|
t.binary :binary, limit: 100_000
t.text :text, limit: 100_000