Specify the migration to use, caused me grief during testing

This commit is contained in:
swaggboi 2022-07-31 00:39:50 -04:00
parent d84176677f
commit 9781741354

View File

@ -41,7 +41,7 @@ any [qw{GET POST}], '/post', sub ($c) {
# Configure things
app->secrets(app->config->{'secrets'}) || die $@;
app->pg->migrations->from_dir('migrations')->migrate();
app->pg->migrations->from_dir('migrations')->migrate(3);
# Send it
app->start();