0 votes

When starting a new Laravel 6 project, I want to import the default migrations that are added by default when creating a Laravel project

Is this possible?
How to do this in a simple way?
I want to add them, since I want to make relations from users to other models.

in How To & Manuals by (220 points)
edited by

1 Answer

+1 vote
Best answer


currently, you can import your pre-created database via Import project.

But it's definitely a good idea to ship default Laravel models directly with the new Laravel project. I will add it to the todo list.

by Skipper developer (138k points)
selected by

But to import I first need to migrate database and migrate from that? Its not possible to import migrations?

Sorry, it's not possible to import the migrations code directly.

We originally wanted to implement such a feature but because migrations code doesn't have an exact format (like XML/YML) and can contain any user code, it's almost impossible to correctly import such migrations to Skipper.