From 978174135446b3c56b04aa7afc296bb57c44c892 Mon Sep 17 00:00:00 2001 From: swaggboi Date: Sun, 31 Jul 2022 00:39:50 -0400 Subject: [PATCH] Specify the migration to use, caused me grief during testing --- PostText.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PostText.pl b/PostText.pl index a5da2c9..23c4fbc 100755 --- a/PostText.pl +++ b/PostText.pl @@ -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();