mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-17 08:32:51 +01:00
Migration fix
This commit is contained in:
parent
8ee451b42f
commit
9dd64f83e0
@ -35,7 +35,10 @@ class AddTaskProjects extends Migration
|
||||
Schema::table('tasks', function ($table)
|
||||
{
|
||||
$table->unsignedInteger('project_id')->nullable()->index();
|
||||
$table->text('description')->change();
|
||||
|
||||
if (Schema::hasColumn('tasks', 'description')) {
|
||||
$table->text('description')->change();
|
||||
}
|
||||
});
|
||||
|
||||
DB::statement('SET FOREIGN_KEY_CHECKS=0;');
|
||||
|
Loading…
Reference in New Issue
Block a user