BookStack/database/migrations/2017_07_02_152834_update_db_encoding_to_ut8mb4.php
Dan Brown 6bcd89acf7
Moved utf8mb4 migration to command instead of migration
To prevent errors upon migration.
Command generates out the SQL syntax to make the change instead
so the upgrade can be done manually.

In reference to #425
2017-07-22 15:54:17 +01:00

29 lines
568 B
PHP

<?php
use Illuminate\Database\Migrations\Migration;
class UpdateDbEncodingToUt8mb4 extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
// Migration removed due to issues during live migration.
// Instead you can run the command `artisan bookstack:db-utf8mb4-syntax`
// which will generate out the SQL request to upgrade your DB to utf8mb4.
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
//
}
}