Skip to content

Commit 0b4debe

Browse files
authored
Merge pull request #6 from coralsio/postgress-support
add nullable for code of transaction column
2 parents 87eaf3d + d36b2ba commit 0b4debe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Common/database/migrations/CreateTransactionsTable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public function up()
1717
{
1818
Schema::create('payment_transactions', function (Blueprint $table) {
1919
$table->increments('id');
20-
$table->string('code');
20+
$table->string('code')->nullable();
2121

2222
$table->morphs('owner');
2323

0 commit comments

Comments
 (0)