Use latest DBIx::Class::Schema::Loader

This commit is contained in:
Eelco Dolstra
2015-07-30 16:07:21 +02:00
parent c18fb0ad74
commit 9afaf322b3
4 changed files with 105 additions and 7 deletions

8
src/sql/update-dbix.pl Normal file
View File

@@ -0,0 +1,8 @@
make_schema_at("Hydra::Schema", {
naming => { ALL => "v5" },
relationships => 1,
moniker_map => sub { return "$_"; },
components => [ "+Hydra::Component::ToJSON" ],
rel_name_map => { buildsteps_builds => "buildsteps" }
}, ["dbi:SQLite:tmp.sqlite"]);