antonioribeiro / antonioribeiro/tracker

Database Migration Error

Open
#284 5 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
PHP
Stars
2.9k
Forks
594
PR merge metrics
No merged PRs in 30d

Description

I see this error:
```
"SQLSTATE[42000]: Syntax error or access violation: 1170 BLOB/TEXT column 'name' used in key specification without a key length"

```
When I try to run the artisan command: `php artisan migrate --database=tracker` following the setup tutorial.
[tracker_error.txt](https://github.com/antonioribeiro/tracker/files/1041736/tracker_error.txt)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the setup tutorial and reproduce `php artisan migrate --database=tracker` using the details in tracker_error.txt. Trace which migration produces the reported BLOB/TEXT key-length error and determine the project-compatible change needed; done means the tutorial migration completes successfully on the tracker database.

Written by the indexing model from the issue text.

Assessment

Tech stack
laravel, php
Domain
database
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.