I've created an Auth project with laravel 5.5 and created new migration and when I migrate I receive this error msg:
In Connection.php line 647:
SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'users' already exists
(SQL: create table `users` (
`id` int unsigned not null auto_increment primary key,
`name` varchar(255) not null,
`username` varchar(255) not null,
`email` varchar(255) not null,
`password` varchar(255) not null,
`remember_token` varchar(100) null,
`created_at` timestamp null,
`updated_at` timestamp null,
`role` int not null
) default character set utf8mb4 collate utf8mb4_unicode_ci
)
In Connection.php line 449:
SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'users' already exists
i try php artisan migrate --force and php artisan migrate:rollback
and try to drop all tabels and migrate it again and still ahve this error
after reading error msg in CMD (DOS) and check laravel documentation
error in length i dont know if any one see this error before or not but when i edit length its work
i edit 3 migration as below :-
and now its
number 2 it was
and now its :-
number 3 it was :-
now its :-