DROP

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

  • up: as you can see in the example below the up is set to "" => "" it is because the migrator already knows what to do and it's job is to drop the table that you fill in the "table" line.

  • down: is the reverse of the "up". In this instance this should be creating the table that we drop beacause once again it's the reverse of the up.

Last updated