Schemaclass. Migration files are really just wrappers around the
Schemaclass as well as a way for Masonite to manage which migrations have run and which ones have not.
upmethod and start adding any of the available methods below to your migration.
downmethod which should reverse whatever was done in the
upmethod. If you create a table in the up method, you should drop the table in the down method.
-sflag (short for
--show). This works on the migrate and migrate:rollback commands.
Database Seederclass by:
CustomTable is the name of the seeder without "Seeder" suffix. Internally we will run the desired CustomTableSeeder.
nameparameter to change the name of the constraint:
.change()method on it.