Skip to content

Commit

Permalink
Merge branch 'hotfix/5.4.1'
Browse files Browse the repository at this point in the history
* hotfix/5.4.1:
  updated agent columns to text
  • Loading branch information
austintoddj committed Sep 6, 2020
2 parents 96bdf9f + 90a8203 commit 1b097a4
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

class AlterCanvasViewsAgentColumnType extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('canvas_views', function (Blueprint $table) {
$table->text('agent')->nullable()->change();
});
}

/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('canvas_views', function (Blueprint $table) {
$table->string('agent')->nullable()->change();
});
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

class AlterCanvasVisitsAgentColumnType extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('canvas_visits', function (Blueprint $table) {
$table->text('agent')->nullable()->change();
});
}

/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('canvas_visits', function (Blueprint $table) {
$table->string('agent')->nullable()->change();
});
}
}

0 comments on commit 1b097a4

Please sign in to comment.