Skip to content
This repository has been archived by the owner on Mar 18, 2022. It is now read-only.

Migrations broken in 5.3 #197

Open
mcblum opened this issue Oct 7, 2016 · 0 comments
Open

Migrations broken in 5.3 #197

mcblum opened this issue Oct 7, 2016 · 0 comments

Comments

@mcblum
Copy link

mcblum commented Oct 7, 2016

Hi. Just trying to install and after I ran the DB migrations I get:

  [Illuminate\Database\QueryException]                                                                                                                                                                                                                   
  SQLSTATE[HY000]: General error: 1005 Can't create table 'db.#sql-17ad_12' (errno: 150) (SQL: alter table `role_user` add constraint `role_user_user_id_foreign` foreign key (`user_id`) references `users` (`id`) on delete cascade)  
  [Doctrine\DBAL\Driver\PDOException]                                                                      
  SQLSTATE[HY000]: General error: 1005 Can't create table 'db.#sql-17ad_12' (errno: 150)  
  [PDOException]                                                                                           
  SQLSTATE[HY000]: General error: 1005 Can't create table 'db.#sql-17ad_12' (errno: 150)       

Let me know if I'm doing something wrong!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant