Support the ongoing development of Laravel.io →
posted 9 years ago
Database
Last updated 2 years ago.
0

That migrations generator worked great for me in L5. It ran migrations on 60+ tables without a hitch. In case you have something different, this is what I have in composer.json under "require-dev" (both of these are needed):

    "xethron/migrations-generator": "dev-l5",
    "way/generators": "dev-feature/laravel-five-stable"
0

Hi, I am using Laravel 5. But this is not working for me. I am getting following error.

[RuntimeException] Failed to clone https://230f1de20f16d31398bbbf36155c6e0be57ecf65:***@github .com/jamisonvalenta/Laravel-4-Generators.git, git was not found, check that it is installed and in your PATH env. 'git' is not recognized as an internal or external command, operable program or batch file.

update [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock] [--no-plugins] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no- progress] [--with-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [packages1] ... [p ackagesN]

Last updated 9 years ago.
0

@raksivastava

You need to set git in environment variables (I am assuming you are on windows). The easiest way is to reinstall git from https://git-scm.com, and making sure path variables set through the installation process.

0

Error:

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - The requested package way/generators could not be found in any version, there may be a typo in the package name.
  Problem 2
    - Installation request for xethron/migrations-generator dev-l5 -> satisfiable by xethron/migrations-generator[dev-l5].
    - xethron/migrations-generator dev-l5 requires way/generators dev-feature/laravel-five-stable -> no matching package found.

Please help

FIXED:

Please see: https://laracasts.com/discuss/channels/general-discussion/laravel-5-migrations-from-existing-database?page=1#reply-102015

Last updated 9 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

asadallahi asadallahi Joined 16 Jan 2015

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.