[Dbix-class] DBIx::Class::Schema::Loader and indexes
ibob17 at yahoo.gr
Tue Oct 22 14:52:41 GMT 2013
On 10/22/2013 05:22 PM, Rob Kinyon wrote:
> I have a personal fork of ::Loader that does this for mysql databases.
> I need to get it visible so that it can be picked over and merged.
> On Tue, Oct 22, 2013 at 10:04 AM, Vangelis Katsikaros <ibob17 at yahoo.gr> wrote:
>> I am using DBIx::Class::Schema::Loader 's make_schema_at and dump_to_dir
>> with success to create persistent DBIx::Class::Schema modules which I can
>> load afterwards for usage.
>> My question is whether I can automatically create DBIx::Class::Schema that
>> additionally extracts index information, fetched from the DB. I see that
>> primary keys, foreign keys and unique indexes do end up in the final
>> DBIx::Class::Schema modules but not simple indexes on columns.
I didn't mentioned it (I though it was DBIx generic not per DB driver).
I do use mysql
* DBIx::Class::Schema::Loader 0.07012
* DBIx::Class 0.08250
More information about the DBIx-Class