Skip to content

Commit 34d172c

Browse files
committed
Added migration update geometry field test.
1 parent d9e9686 commit 34d172c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/Integration/Migrations/UpdateTables.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ public function up()
2121
$table->point('location')->change();
2222

2323
// The other field changes are just here to test if change works with them, we're not changing anything
24+
$table->geometry('geo')->default(null)->nullable()->change();
2425
$table->lineString('line')->default(null)->nullable()->change();
2526
$table->polygon('shape')->default(null)->nullable()->change();
2627
$table->multiPoint('multi_locations')->default(null)->nullable()->change();

0 commit comments

Comments
 (0)