Development

#2808 ([PATCH]Unable to build model ORM from schema.yml)

You must first sign up to be able to contribute.

Ticket #2808 (closed defect: worksforme)

Opened 11 months ago

Last modified 5 months ago

[PATCH]Unable to build model ORM from schema.yml

Reported by: manickam Assigned to: fabien
Priority: major Milestone:
Component: model Version: 1.1.0 DEV
Keywords: build model ORM Cc:
Qualification: Unreviewed

Description

running the command as follows for a valid schema.yml

dumpyard--bash-2.05b$ symfony propel:build-model

schema converting "/home/manickam/my_symfony/config/schema.yml" to XML schema putting /home/manickam/my_symfony/config/generated-schema.xml file- /home/manickam/my_symfony/config/generated-schema.xml

You must create a schema.yml or schema.xml file.

dumpyard--bash-2.05b$ dumpyard--bash-2.05b$ cat config/schema.yml

propel:

weblog_post:

_attributes: { phpName: Post } id: title: varchar(255) excerpt: longvarchar body: longvarchar created_at:

weblog_comment:

_attributes: { phpName: Comment } id: post_id: author: varchar(255) email: varchar(255) body: longvarchar created_at:

dumpyard--bash-2.05b$

Attachments

build_model.patch (2.0 kB) - added by manickam on 01/18/08 14:19:05.
Patch for build model command to work

Change History

01/18/08 14:19:05 changed by manickam

  • attachment build_model.patch added.

Patch for build model command to work

02/21/08 07:17:33 changed by Carl.Vondrick

  • version changed from 1.0.10 to 1.1.0.

06/23/08 06:30:15 changed by dwhittle

  • status changed from new to closed.
  • resolution set to worksforme.