Import laravel migrations

0 votes
asked May 12, 2021 in How To & Manuals by bsl (120 points)

Hello,

I have Laravel+Postgress project and I would like to import migrations to the Skipper to see visualisation of schema.

I tried Import existing project -> Laravel -> Laravel -> Database -> Postgres -> Connection settings OK -> In the root path I selected Laravel project root path.

After import I have message:
enter image description here
And nothing imported.
Could you please help to solve this ?

Thank you very much in advance.

1 Answer

0 votes
answered May 12, 2021 by ludek.vodicka Skipper developer (140,450 points)

Hello,

unfortunately, there is no way how to import existing migrations to Skipper. You can import an existing model from the database which will be imported as one initial migration.

But it seems you are having trouble also with the entity imports. Did you select correct database settings? Can you take more screenshots/screencasts with your settings?

commented May 12, 2021 by bsl (120 points)

Hi Ludek,

Looks like database settings are correct, since status Connected is shown.

Please see more screenshots below:

enter image description here
enter image description here
enter image description here
enter image description here

commented May 12, 2021 by ludek.vodicka Skipper developer (140,450 points)

Thanks for the screenshots. This is strange. Because Skipper was obviously correctly connected to the database bud didn't find any table/entity.

Maybe it's caused by a type of table or something like this. Would be possible to dump your database structure (without data) and send it to my email? I can try to import it to Postgress here and try to simulate it here.

If possible, my email is: [email protected]

commented Aug 29, 2021 by bsl (120 points)

Good morning Ludek,
Just sent you db to your email.

...