2017-07-02 16:20:05 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
use Illuminate\Database\Migrations\Migration;
|
|
|
|
|
|
|
|
class UpdateDbEncodingToUt8mb4 extends Migration
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Run the migrations.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function up()
|
|
|
|
{
|
2017-07-22 14:54:17 +00:00
|
|
|
// Migration removed due to issues during live migration.
|
2017-07-22 15:19:17 +00:00
|
|
|
// Instead you can run the command `artisan bookstack:db-utf8mb4`
|
2017-07-22 14:54:17 +00:00
|
|
|
// which will generate out the SQL request to upgrade your DB to utf8mb4.
|
2017-07-02 16:20:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Reverse the migrations.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function down()
|
|
|
|
{
|
2017-07-22 14:54:17 +00:00
|
|
|
//
|
2017-07-02 16:20:05 +00:00
|
|
|
}
|
|
|
|
}
|