Re: laravel -- php -- some basic questions..

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Yes and No.  Migrate has several options you can use install, rollback, fresh, reset, refresh, and status.  Migrations are tracked, hence why you can roll back, refresh, etc.
So yes it's the same as inserting the schema/tables into a db, different markup but there are tools to convert sql create, and alter commands. 
Now if you use it but then go and do manual schema updates and don't make those changes within the migration files you are going to be in for a few headaches if you try and use migrate after.
 
Do you need to use it?  No
Do all seasoned Laravel developers use it?  No
Is it a useful tool?  Yes

On Wed, Nov 1, 2023 at 1:39 PM bruce <badouglas@xxxxxxxxx> wrote:
the cmd
      "php artisan migrate"
      apparently publishes schema to the database

is this the same as inserting the schema/tables into a db/tbl within
the database -- mysql/postgres?   Or is it something different?


--
Thank you,

Dan
Cell:  484-459-2856
Facebook: http://www.facebook.com/dpmccullough
LinkedIn: https://www.linkedin.com/in/danmccullough


    

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux