I hope my question makes sense as I'm a bit confused on what I should be doing.
I have cloned a laravel project and there are about 20 migrations already there in the folder. From my understanding, migrations are the tables?
I have created an empty mysql database that links to this laravel project which currently has a migrations
table and a users
table.
I think I am supposed to do something to generate the tables written in the migrations folder on the new database but I'm not sure how.
So far I have used the command
php artisan migrate
which generates a migrations
and users
table and comes up with these errors.
[Illuminate\Database\QueryException] SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was t oo long; max key length is 1000 bytes (SQL: alter table users add unique
users_email_unique(email))
[Doctrine\DBAL\Driver\PDOException] SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was t oo long; max key length is 1000 bytes
[PDOException] SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was t oo long; max key length is 1000 bytes