Hi guys! Recently i started to make a Mojolicious login app and i have some problems with the Postgresql database deployment.I use for the database connection DBIx::Class. I made the Schema of my database and i used 2 lines of code to start using the database in my app:
my $c = Schema->connect('dbi:Pg:dbname=accounts;host=localhost', 'user +name', 'password', {AutoCommit => 1}); $c->deploy();
But when i try to start the app, it says it can't deploy the database due to an error with the SQL::Translator::Producer::PostgreSQL which i have installed.
Can't load application from file: "/home.../file": DBIx::Class:: Storage::DBI:: deployment_stateme nts(): Unable to produce deployment statements: translate: Error with producer 'SQL::Translator:: Producer:: PostgreSQL'I will leave a link to my github if you want to see my code so far: https://github.com/andreioff/Test-perl/tree/master/accounts. I think the problem is that i don't have something installed on my computer but i don't know what.
In reply to Database deploy error in Mojolicious app by andreioff
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |