Guest User

Untitled

a guest
Nov 11th, 2017
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.32 KB | None | 0 0
  1. ALTER TABLE apply_queue CHANGE cv_id cv_id INT DEFAULT NULL, CHANGE team_id team_id INT DEFAULT NULL;
  2. ....
  3.  
  4. /**
  5. * AppBundleEntityApplyQueue.
  6. *
  7. * @ORMEntity(repositoryClass="AppBundleEntityApplyQueueRepository")
  8. * @ORMTable(name="apply_queue")
  9. */
  10. class ApplyQueue
  11. {
  12. /**
  13. * @var int
  14. *
  15. * @ORMColumn(name="id", type="integer")
  16. * @ORMId
  17. * @ORMGeneratedValue(strategy="AUTO")
  18. */
  19. protected $id;
  20.  
  21. /**
  22. * @ORMManyToOne(targetEntity="AppBundleEntityCv")
  23. * @ORMJoinColumn(name="cv_id", referencedColumnName="id", onDelete="CASCADE")
  24. */
  25. protected $cv;
  26.  
  27. /**
  28. * @ORMManyToOne(targetEntity="AppBundleEntityTeam")
  29. * @ORMJoinColumn(name="team_id", referencedColumnName="id", onDelete="CASCADE")
  30. */
  31. protected $team;
  32.  
  33. ...
  34.  
  35. doctrine:
  36. dbal:
  37. driver: "%database_driver%"
  38. host: "%database_host%"
  39. port: "%database_port%"
  40. dbname: "%database_name%"
  41. user: "%database_user%"
  42. password: "%database_password%"
  43. charset: utf8mb4
  44. default_table_options:
  45. charset: utf8mb4
  46. collate: utf8mb4_unicode_ci
  47. types:
  48. json: SonataDoctrineTypesJsonType
  49. review_status: AppBundleModelEnumReviewStatusEnumType
  50. mapping_types:
  51. review_status: string
Add Comment
Please, Sign In to add comment