]> BookStack Code Mirror - bookstack/commit
Moved utf8mb4 migration to command instead of migration
authorDan Brown <redacted>
Sat, 22 Jul 2017 14:54:17 +0000 (15:54 +0100)
committerDan Brown <redacted>
Sat, 22 Jul 2017 14:54:17 +0000 (15:54 +0100)
commit6bcd89acf76163ca09c95903f27ceed925718061
treec3026a04f6d77a750a557663344eb6c29f109e9c
parent433cb9b3b2b85c371818495b5e636daff5c49457
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
app/Console/Commands/UpgradeDatabaseEncoding.php [new file with mode: 0644]
app/Console/Kernel.php
database/migrations/2017_07_02_152834_update_db_encoding_to_ut8mb4.php