I
I
Ivan2020-02-06 10:31:07
PostgreSQL
Ivan, 2020-02-06 10:31:07

How to fix errors when migrating a project from gitlab to postgreSQL database?

Deploying a project with gitlab. The project itself is made on laravel with a postgreSQL database, composer is used. I am deploying xampp on my local server. And when migrating the database, errors fell with one table "Illuminate\Database\QueryException : SQLSTATE[42704]: Undefined object: 7 ERROR: type "ltree" does not exist at character 43", and then a link to lines of code - 5e3bc0a59da93953550672.png
As I understand it, ltree - a module for postgres, I installed it, but I can’t even imagine how to fix this error. This is my first time working with postgres.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Melkij, 2020-02-06
@W2nn3ss

create extension ltree;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question