-
Notifications
You must be signed in to change notification settings - Fork 143
Open
Description
Migration scripts should check the DB schema, before trying to make changes.
For instance, if Spatie is installed, the DB already contains roles
table.
And installation fails:
Migrating: 2015_03_15_123956_edit_url_table
Migrated: 2015_03_15_123956_edit_url_table
Migrating: 2016_02_10_181651_create_roles_tables
Illuminate\Database\QueryException : SQLSTATE[42S01]: Base table or view already exists: 1050
Table 'roles' already exists (SQL: create table `roles` (`id` int unsigned not null auto_increment primary
key, `name` varchar(255) not null, `label` varchar(255) null, `created_at` timestamp null, `updated_at`
timestamp null) default character set utf8mb4 collate 'utf8mb4_unicode_ci')
Please, update the instruction. It contains the broken link https://github.com/docs/master/crud-commands .
Metadata
Metadata
Assignees
Labels
No labels