On Friday, December 4, 2015 at 5:58:42 AM UTC-8, Christian MICHON wrote:
>
> Hi,
>
> Using the latest release 4.29.0, I'm trying to dump the schema from a
> rather big oracle instance. I'm using CentOS + jruby.
>
> I'm able to perform a dump_schema_migration, but most of my columns have
> type String, with no size. I've specific columns I know to be 4000
> characters long, so a 255 character will fail copying data into it.
>
> How to configure the dump_schema_migration in order to get the size of
> varchars? Or is it a know limitation of the schema dumper?
>
> Thanks.
> Christian
>
Are you dumping with the :same_db => true option? If you plan to dump and
replay back on the same database, that should make it use the database's
types.
However, the schema extractor (column_schema_to_ruby_type) should parse
varchar(4000) as {:type=>String, :size=>4000}. What is the output of
Database#schema for the column?
Thanks,
Jeremy
--
You received this message because you are subscribed to the Google Groups
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.