Skip to content

Commit b94e861

Browse files
committed
Added note regarding spatial indexes.
1 parent 60ee8ad commit b94e861

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,8 @@ Note about spatial indexes from the [MySQL documentation](https://dev.mysql.com/
195195

196196
> For [`MyISAM`](https://dev.mysql.com/doc/refman/5.7/en/myisam-storage-engine.html) and (as of MySQL 5.7.5) `InnoDB` tables, MySQL can create spatial indexes using syntax similar to that for creating regular indexes, but using the `SPATIAL` keyword. Columns in spatial indexes must be declared `NOT NULL`.
197197
198+
Also please read this [**important note**](https://laravel.com/docs/5.5/migrations#indexes) regarding Index Lengths in the Laravel 5.6 documentation.
199+
198200
For example, as a follow up to the [Quickstart](#user-content-create-a-migration); from the command line, generate a new migration:
199201

200202
```shell

0 commit comments

Comments
 (0)