Skip to content

Commit b79848c

Browse files
authored
Merge pull request #16 from laravel-enso/upgrade/larave11MigrationChange
laravel 11 floating-point types
2 parents c7f8a61 + 1a0f6ec commit b79848c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

database/migrations/2018_09_10_100000_create_data_exports_table.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public function up()
1111
Schema::create('data_exports', function (Blueprint $table) {
1212
$table->increments('id');
1313

14-
$table->unsignedBigInteger('file_id')->nullable()->unique();
14+
$table->bigInteger('file_id')->unsigned()->nullable()->unique();
1515
$table->foreign('file_id')->references('id')->on('files')
1616
->onUpdate('restrict')->onDelete('restrict');
1717

0 commit comments

Comments
 (0)