book / BackPAN-Index

Provide an index of BACKPAN
https://metacpan.org/release/BackPAN-Index
Other
8 stars 11 forks source link

Switch to building the schema at install time. #21

Closed schwern closed 11 years ago

schwern commented 11 years ago

Right now we're building the DBIC schema each time at runtime. Not only is this slow, but its hard to debug and the DBIx::Class::Schema::Loader recommends against it.

Switch to building the schema files at module build time. This will require separating the database creation from the BackPAN::Index which it should be anyway.

The feature/schema_at_build branch exists for this issue.

This will also help debug rt.cpan.org 82107.