Guest User

Untitled

a guest
Dec 16th, 2017
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.39 KB | None | 0 0
  1. Environment: test
  2. Started: December 13 2017, 7:59 am
  3. Host: PHP 7.1.6 on chessdev-v6.chess.com
  4. Build: fixtures => memcache, redis, validateSchema, database, fixtures, sphinx
  5. Git: develop +0 (57e1cb4 49 minutes ago)
  6.  
  7. memcache::run() {
  8. } 2.04s
  9.  
  10. redis::run() {
  11. } 0s
  12.  
  13. validateSchema::run() {
  14. Booting Doctrine command in:
  15. Symfony environment test (debug is on),
  16. entity manager set to default
  17.  
  18. Booting Doctrine command in:
  19. Symfony environment test (debug is on),
  20. entity manager set to explorer
  21.  
  22. Booting Doctrine command in:
  23. Symfony environment test (debug is on),
  24. entity manager set to user_explorer
  25.  
  26. Booting Doctrine command in:
  27. Symfony environment test (debug is on),
  28. entity manager set to tacgen
  29.  
  30. } 67.22s
  31.  
  32. database::run(--all) {
  33. Recreated database for connection `chess_test`
  34. Recreated database for connection `user_explorer_test`
  35. Recreated database for connection `explorer_test`
  36. Recreated database for connection `tacgen_test`
  37.  
  38. In ToolsException.php line 39:
  39.  
  40. Schema-Tool failed with Error 'An exception occurred while executing 'ALTER
  41. TABLE product ADD CONSTRAINT FK_D34A04AD14959723 FOREIGN KEY (product_type
  42. _id) REFERENCES product_type (product_type_id)':
  43.  
  44. SQLSTATE[HY000]: General error: 1215 Cannot add foreign key constraint' whi
  45. le executing DDL: ALTER TABLE product ADD CONSTRAINT FK_D34A04AD14959723 FO
  46. REIGN KEY (product_type_id) REFERENCES product_type (product_type_id)
  47.  
  48.  
  49. In AbstractMySQLDriver.php line 115:
  50.  
  51. An exception occurred while executing 'ALTER TABLE product ADD CONSTRAINT F
  52. K_D34A04AD14959723 FOREIGN KEY (product_type_id) REFERENCES product_type (p
  53. roduct_type_id)':
  54.  
  55. SQLSTATE[HY000]: General error: 1215 Cannot add foreign key constraint
  56.  
  57.  
  58. In PDOConnection.php line 106:
  59.  
  60. SQLSTATE[HY000]: General error: 1215 Cannot add foreign key constraint
  61.  
  62.  
  63. In PDOConnection.php line 104:
  64.  
  65. SQLSTATE[HY000]: General error: 1215 Cannot add foreign key constraint
  66.  
  67.  
  68. doctrine:schema:create [--dump-sql] [--no-foreignKeys] [--em [EM]] [--all] [--snapshot] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--memory MEMORY] [--] <command>
  69.  
  70. Command exited with code 1: "php app/console --env=test --ansi doctrine:schema:create --all --em=root"
  71. } 18.88s
Add Comment
Please, Sign In to add comment