Answer the question
In order to leave comments, you need to log in
MYSQL Bypass errors?
Good morning guys when I load the tables into the database it comes out.
ALTER TABLE `notifications`
ADD PRIMARY KEY (`id`),
ADD KEY `notifications_notifiable_id_notifiable_type_index` (`notifiable_id`,`notifiable_type`);
Answer the question
In order to leave comments, you need to log in
If I understand correctly, this is Laravel.
in AppServiceProvider.php - add the following line:
public function boot() {
Schema::defaultStringLength(191);
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question