5

Is it possible to create a migration in Laravel 4 from an existing database?

trejder
  • 17,148
  • 27
  • 124
  • 216
jeanfrg
  • 2,366
  • 2
  • 29
  • 40

1 Answers1

10

Here is the linked script, that does, what is asked here.

I also found this tool (actually a Gist code) and I highly prefer it for its simplicity.

trejder
  • 17,148
  • 27
  • 124
  • 216
jeanfrg
  • 2,366
  • 2
  • 29
  • 40
  • 2
    also check out my extensive answer linked below, you might find it useful as well: http://stackoverflow.com/questions/20271670/reverse-engineering-or-auto-generations-of-entities-in-laravel/20274636#20274636 – Gadoma May 07 '14 at 11:02
  • 1
    Gist code worked beautifully. Many thanks for the link! – Martin Sheeks Jan 15 '15 at 15:48