Greets,

I'm having some issues with doctrine-load-data, here is the output :

[EMAIL PROTECTED] ~/sites/test $ symfony doctrine-load-data backend
>> doctrine  load data from "/home/fred/sites/test/data/fixtures"
>> Filling   class "Armee"
Class Armee: Users, Grades


  [PDOException]
  SQLSTATE[HY000]: General error

Any idea about that problem ? or a way to have more information ?

Here is my schema.yml:
News:
  tableName: news
  columns:
    title:
      type: string(256)
      notnull: true
    description:
      type: string(2048)
      notnull: true
    created_at: timestamp
    updated_at: timestamp

User:
  tableName: user
  columns:
    user:
      type: string(64)
      unique: true
      notnull: true
    password:
      type: string(32)
      notnull: true
    email:
      type: string(128)
      unique: true
      email: true
      notnull: true
    prenom:
      type: string(64)
    nom:
      type: string(64)
    date_naissance:
      type: date
    grade:
      foreignClass: Grade
      cascadeDelete: false
    armee:
      foreignClass: Armee
      cascadeDelete: false
    created_at: timestamp
    updated_at: timestamp

Grade:
  tableName: grade
  columns:
    armee:
      foreignClass: Armee
      cascadeDelete: false
    grade:
      type: string(32)
      notnull: true

Armee:
  tableName: armee
  columns:
    armee:
      type: string(32)
      notnull: true

Credential:
  tableName: credential
  columns:
    credential:
      type: string(33)
      notnull: true

UserCredential:
  tableName: userCredential
  columns:
    user:
      foreignClass: User
      notnull: true
    credential:
      foreignClass: Credential
      notnull: true

And my fixtures/data.yml:
Armee:
  terre:
    armee: Armée de terre
  marine:
    armee: Marine nationale


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to