Specify the migration to use, caused me grief during testing
This commit is contained in:
parent
d84176677f
commit
9781741354
|
@ -41,7 +41,7 @@ any [qw{GET POST}], '/post', sub ($c) {
|
||||||
# Configure things
|
# Configure things
|
||||||
app->secrets(app->config->{'secrets'}) || die $@;
|
app->secrets(app->config->{'secrets'}) || die $@;
|
||||||
|
|
||||||
app->pg->migrations->from_dir('migrations')->migrate();
|
app->pg->migrations->from_dir('migrations')->migrate(3);
|
||||||
|
|
||||||
# Send it
|
# Send it
|
||||||
app->start();
|
app->start();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user