vanilophp / docs

Vanilo Documentation (Laravel E-commerce)
https://vanilo.io/docs/
6 stars 9 forks source link

Migration Issue #7

Closed arifwc closed 5 years ago

arifwc commented 5 years ago

I have been running a command php artisan migrate and then come up with this error message :

Migrating: 2014_10_12_000000_create_users_table Migrated: 2014_10_12_000000_create_users_table Migrating: 2014_10_12_100000_create_password_resets_table Migrated: 2014_10_12_100000_create_password_resets_table Migrating: 2016_11_24_104017_create_countries_table Migrated: 2016_11_24_104017_create_countries_table Migrating: 2016_11_24_104459_create_provinces_table Migrated: 2016_11_24_104459_create_provinces_table Migrating: 2016_12_03_110323_create_addresses_table Migrated: 2016_12_03_110323_create_addresses_table Migrating: 2016_12_04_104214_create_persons_table Migrated: 2016_12_04_104214_create_persons_table Migrating: 2016_12_04_191141_create_organizations_table Migrated: 2016_12_04_191141_create_organizations_table Migrating: 2016_12_18_113707_extend_users_table Migrated: 2016_12_18_113707_extend_users_table Migrating: 2016_12_18_121118_create_profiles_table

In Connection.php line 664:

SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'profiles' already exists (SQL: create table profiles (id int unsigned not null auto_increment primary key, user_id int unsigned not null, person_id int unsigned not null, avatar_type varchar(191) null, avatar_data text null, c reated_at timestamp null, updated_at timestamp null) default character set utf8mb4 collate 'utf8mb 4_unicode_ci')

How I can get through this problem??