in reply to How To Represent varchar(max) in DBIx::Class
Hi, try
... that's what the Perl error is reporting.{ data_type => "varchar", is_nullable => 1, size => "max" } # ^ ^
That may lead to a DBIx::Class error, I don't know whether the syntax is supported.
I wasn't familiar with VARCHAR(MAX) so I looked it up; it seems it's not recommended except in the specific case of having data of potentially large size (e.g. VARCHAR(MAX) vs VARCHAR(255)). Is that your case?
Hope this helps!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How To Represent varchar(max) in DBIx::Class
by phildeman (Scribe) on Jan 08, 2018 at 02:13 UTC |