[Solved] Export laravel migrations

0 votes
asked Sep 26, 2019 in Solved by cent89 (200 points)
recategorized Oct 2, 2019 by ludek.vodicka

Hi,
I have created a Laravel project with Skipper; I have some tables with relationships.
When I export the project to ORM, I have only the Models file, and not the migrations file.

How I can solve this problem?
Thanks!
Roberto

1 Answer

0 votes
answered Sep 26, 2019 by ludek.vodicka Skipper developer (140,450 points)

Hello Roberto,

migrations should be exported automatically to the following path

database/migrations/20181130144432skippermigrations2018113014443275.php

Can you please check it?

In case you will not find such directory, please send me your project to Emails are not allowed and I will inspect it.

Thanks

commented Sep 26, 2019 by ludek.vodicka Skipper developer (140,450 points)

One more idea.

Did you create migration point? ;-)

You need to create migration by clicking on "add migration" button in Ribbon.

commented Sep 26, 2019 by cent89 (200 points)

Hi, the email address was removed.
You can download the file here: https://cloud.elephantech.it/index.php/s/MCjCWAMF7Cor7a4

Thanks!

commented Sep 26, 2019 by ludek.vodicka Skipper developer (140,450 points)

It's as I expected. You don't have created migration points.

You need to use this buttons:

enter image description here

Select "Add revision" and confirm it:

enter image description here

An now you can export your migrations.

Let me know if you will be successful with migrations!

commented Jan 21, 2020 by cent89 (200 points)

Perfect! Thanks!

...