{"id":15021846,"url":"https://github.com/limitium/ormd-fixer","last_synced_at":"2026-01-03T00:46:31.643Z","repository":{"id":2093218,"uuid":"3033592","full_name":"limitium/ormd-fixer","owner":"limitium","description":"Fix old ORM Disigner files","archived":false,"fork":false,"pushed_at":"2015-03-15T13:07:05.000Z","size":140,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-23T04:43:52.660Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"UAVCAN/libuavcan","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/limitium.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-12-22T12:02:11.000Z","updated_at":"2015-03-15T13:07:07.000Z","dependencies_parsed_at":"2022-09-04T07:50:46.674Z","dependency_job_id":null,"html_url":"https://github.com/limitium/ormd-fixer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/limitium%2Formd-fixer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/limitium%2Formd-fixer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/limitium%2Formd-fixer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/limitium%2Formd-fixer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/limitium","download_url":"https://codeload.github.com/limitium/ormd-fixer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243910820,"owners_count":20367545,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-24T19:57:08.055Z","updated_at":"2026-01-03T00:46:31.598Z","avatar_url":"https://github.com/limitium.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"ORM Designer Fixer\r\n===\r\nThis bundle for fix ORM Designer generated YML metadata files.\r\n\r\nAdd bundle in AppKernel:\r\n\r\n  if (in_array($this-\u003egetEnvironment(), array('dev', 'test'))) {\r\n\t\t...\r\n\t\t$bundles[] = new Limitium\\ORMDFixer\\ORMDFixerBundle();\r\n\t}\r\n\r\nCall `app/console yaml:fix Acme`\r\n\r\n- Create Modelname.orm.yml file from ModelName.dcm.yml\r\n- Fix all references in Modelname.orm.yml\r\n- Delete ModelName.dcm.yml file\r\n\r\nExample of input dcm and output orm files:\r\n\r\n\r\n``src\\PDS\\StoryBundle\\Resources\\config\\doctrine\\Comment.dcm.yml``\r\n\r\n\tComment:\r\n\t  type: entity\r\n\t  table: comment\r\n\t  fields:\r\n\t    id:\r\n\t      id: true\r\n\t      type: integer\r\n\t      generator:\r\n\t        strategy: AUTO\r\n\t    message:\r\n\t      type: text\r\n\t      nullable: false\r\n\t    created_at:\r\n\t      type: datetime\r\n\t      nullable: false\r\n\t  manyToOne:\r\n\t    Story:\r\n\t      targetEntity: Story\r\n\t      inversedBy: Comments\r\n\t      joinColumns:\r\n\t        story_id:\r\n\t          referencedColumnName: id\r\n\t    User:\r\n\t      targetEntity: User\r\n\t      inversedBy: Comments\r\n\t      joinColumns:\r\n\t        user_id:\r\n\t          referencedColumnName: id \r\n\r\n``src\\PDS\\StoryBundle\\Resources\\config\\doctrine\\Comment.orm.yml``\r\n\r\n\tPDS\\StoryBundle\\Entity\\Comment:\r\n\t  type: entity\r\n\t  table: comment\r\n\t  fields:\r\n\t    id:\r\n\t      id: true\r\n\t      type: integer\r\n\t      generator:\r\n\t        strategy: AUTO\r\n\t    message:\r\n\t      type: text\r\n\t      nullable: false\r\n\t    created_at:\r\n\t      type: datetime\r\n\t      nullable: false\r\n\t  manyToOne:\r\n\t    Story:\r\n\t      targetEntity: PDS\\StoryBundle\\Entity\\Story\r\n\t      inversedBy: Comments\r\n\t      joinColumns:\r\n\t        story_id:\r\n\t          referencedColumnName: id\r\n\t    User:\r\n\t      targetEntity: PDS\\UserBundle\\Entity\\User\r\n\t      inversedBy: Comments\r\n\t      joinColumns:\r\n\t        user_id:\r\n\t          referencedColumnName: id","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flimitium%2Formd-fixer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flimitium%2Formd-fixer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flimitium%2Formd-fixer/lists"}