Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ALTER TABLE apply_queue CHANGE cv_id cv_id INT DEFAULT NULL, CHANGE team_id team_id INT DEFAULT NULL;
- ....
- /**
- * AppBundleEntityApplyQueue.
- *
- * @ORMEntity(repositoryClass="AppBundleEntityApplyQueueRepository")
- * @ORMTable(name="apply_queue")
- */
- class ApplyQueue
- {
- /**
- * @var int
- *
- * @ORMColumn(name="id", type="integer")
- * @ORMId
- * @ORMGeneratedValue(strategy="AUTO")
- */
- protected $id;
- /**
- * @ORMManyToOne(targetEntity="AppBundleEntityCv")
- * @ORMJoinColumn(name="cv_id", referencedColumnName="id", onDelete="CASCADE")
- */
- protected $cv;
- /**
- * @ORMManyToOne(targetEntity="AppBundleEntityTeam")
- * @ORMJoinColumn(name="team_id", referencedColumnName="id", onDelete="CASCADE")
- */
- protected $team;
- ...
- doctrine:
- dbal:
- driver: "%database_driver%"
- host: "%database_host%"
- port: "%database_port%"
- dbname: "%database_name%"
- user: "%database_user%"
- password: "%database_password%"
- charset: utf8mb4
- default_table_options:
- charset: utf8mb4
- collate: utf8mb4_unicode_ci
- types:
- json: SonataDoctrineTypesJsonType
- review_status: AppBundleModelEnumReviewStatusEnumType
- mapping_types:
- review_status: string
Add Comment
Please, Sign In to add comment