---
title: "Discussion on \"Laravel migration Error – Specified key was too long\" | Hashnode"
description: "Discussion on \"Laravel migration Error – Specified key was too long\". As seen above in image, this issue you may have faced many a times. That’s why you’re on this page. This is a nasty error that says (1071 Specified key was too long) and your migration fails. You need to delete entry from migration table and also del..."
url: "https://hashnode.com/posts/laravel-migration-error-specified-key-was-too-long/62d68632d3af5e3713d5f621"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Laravel migration Error – Specified key was too long](https://blog.ghanshyamdigital.com/laravel-migration-error-specified-key-was-too-long?utm_source=hashnode&utm_medium=feed)

As seen above in image, this issue you may have faced many a times. That’s why you’re on this page. This is a nasty error that says (1071 Specified key was too long) and your migration fails. You need to delete entry from migration table and also del...

Jul 19, 2022 · 1 min read · blog.ghanshyamdigital.com  
Read the article

-   [#laravel](https://hashnode.com/tag/laravel)
-   [#mysql](https://hashnode.com/tag/mysql)
-   [#php](https://hashnode.com/tag/php)
-   [#migration](https://hashnode.com/tag/migration)

## Written by

[Ghanshyam Digital](https://hashnode.com/@ghanshyamdigital)

@ghanshyamdigital · Surat, Gujarat

  
[View profile](https://hashnode.com/@ghanshyamdigital)

A Software Company

A company founded back in 2019 by two visionary Engineers to create and provide you with the best results possible. We are a web developing company with great vision and plans for the future to be a part of others success. We understand that you have deadlines and reputation to keep... so we will meet ours! You can rely on Ghanshyam Digital To handle your job expertly every time.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
