NEW

The example below is the new instance which will create a table that you fill in the "table" => "" line.

  • up: will be use in the migration to create the table you fill in the "table".

  • down: is the reverse of the "up" option which will drop the table in the database. In this case we just leave the down data to "" => "" because the migrator already know that when using the NEW instance the reverse is always to drop the table that you specify.

Last updated