Skip to content

Commit 0f47ddb

Browse files
committed
Merge remote-tracking branch 'origin/develop'
2 parents 683b3bc + 066d947 commit 0f47ddb

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<?php
2+
3+
use Illuminate\Database\Schema\Blueprint;
4+
use Illuminate\Database\Migrations\Migration;
5+
6+
class IncreaseSerialFieldCapacity extends Migration
7+
{
8+
/**
9+
* Run the migrations.
10+
*
11+
* @return void
12+
*/
13+
public function up()
14+
{
15+
Schema::table('licenses', function ($table) {
16+
$table->string('serial', 2048)->nullable()->default(null)->change();
17+
});
18+
}
19+
20+
/**
21+
* Reverse the migrations.
22+
*
23+
* @return void
24+
*/
25+
public function down()
26+
{
27+
Schema::table('licenses', function ($table) {
28+
$table->string('serial', 255)->nullable()->default(null)->change();
29+
});
30+
}
31+
}

0 commit comments

Comments
 (0)