Skip to content

Commit f97cdc3

Browse files
jorgemudryroshangautam
authored andcommitted
[fix] results table migration
* update results table migration to avoid setting collation and character set on duration column
1 parent 37f0705 commit f97cdc3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

database/migrations/2019_09_25_103421_update_task_results_duration_type.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

3-
use Illuminate\Support\Facades\Schema;
43
use Illuminate\Database\Schema\Blueprint;
4+
use Illuminate\Support\Facades\Schema;
55
use Studio\Totem\Database\TotemMigration;
66

77
class UpdateTaskResultsDurationType extends TotemMigration
@@ -15,7 +15,7 @@ public function up()
1515
{
1616
Schema::connection(TOTEM_DATABASE_CONNECTION)
1717
->table(TOTEM_TABLE_PREFIX.'task_results', function (Blueprint $table) {
18-
$table->decimal('duration', 24, 14)->change();
18+
$table->decimal('duration', 24, 14)->charset('')->collation('')->change();
1919
});
2020
}
2121

0 commit comments

Comments
 (0)