The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.
package Galileo::Plugin::Deploy;

use Mojo::Base 'Mojolicious::Plugin';

use Galileo::DB::Deploy;

sub register {
  my ($plugin, $app) = @_;

  my $dh = Galileo::DB::Deploy->new( schema => $app->schema );
  $app->helper( dh => sub { $dh } );

  return $dh;
}

1;