Git Product home page Git Product logo

Comments (5)

Artem-Schander avatar Artem-Schander commented on May 23, 2024

Hi @atefrihane,

If I understand correctly, you could use Laravels make method.
Like: php artisan make:migration --create=some_table create_some_table

I hope this helps. Otherwise feel free to reopen this issue.

from l5modular.

atefrihane avatar atefrihane commented on May 23, 2024

@Artem-Schander Yes I know I can do that manually with the make migration command..
but what I meant is to generate it automatically in app/database folder like ( in <= 1.4 version)..
Thank you for your answer anyway

from l5modular.

Artem-Schander avatar Artem-Schander commented on May 23, 2024

What do you mean by "automatically"?
In both scenarios you have to execute an artisan command, either make:migration or make:module:migration.
Or am I missing something here?

from l5modular.

atefrihane avatar atefrihane commented on May 23, 2024

@Artem-Schander
what I meant is when I executemake:module ModuleName in the old versions it creates a ModuleName folder + migration file in app/database ( the standard laravel database folder)..
For the current version when you set migration=>true in config file , the migration gets created inside the module folder itself..
That's why I was asking if I can do it in the old way..
I hope it's clear!

from l5modular.

Artem-Schander avatar Artem-Schander commented on May 23, 2024

Ah, now I got it.
Not my brightest moment ^^
I'll see what I can do.

from l5modular.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.