Allow longer regex
This commit is contained in:
parent
bea790d149
commit
00a3ae98b4
1 changed files with 32 additions and 0 deletions
|
@ -0,0 +1,32 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
|
||||
class AllowLongerRegexField extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::table('service_variables', function (Blueprint $table) {
|
||||
$table->text('regex')->change();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::table('service_variables', function (Blueprint $table) {
|
||||
$table->string('regex')->change();
|
||||
});
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue