I have ended up just using raw SQL queries in my migrations, like so:
public function up()
{
DB::statement('ALTER TABLE `glossary` ADD `uuid` BINARY(16) NULL AFTER `id`');
}
public function down()
{
DB::statement('ALTER TABLE `glossary` DROP COLUMN `uuid`');
}
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community