Changeset 4710

Show
Ignore:
Timestamp:
07/24/08 03:55:37 (4 months ago)
Author:
guilhermeblanco
Message:

fixes #1234
Ticket: 1234

Location:
branches
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • branches/0.11/lib/Doctrine/Import/Schema.php

    r4637 r4710  
    117117                                                          'foreignType', 
    118118                                                          'autoComplete', 
     119                                                          'cascade', 
    119120                                                          'onDelete', 
    120121                                                          'onUpdate', 
  • branches/0.11/tests/schema.yml

    r4308 r4710  
    148148      name: test_col as test_col_alias 
    149149      type: string(255) 
     150 
     151# App-level cascade delete 
     152AppCascadeDeleteTest: 
     153  columns:  
     154    id:  
     155      primary: true 
     156      autoincrement: true 
     157      type: integer(4) 
     158    alias_id: 
     159      type: integer(4) 
     160 
     161  relations: 
     162    AliasTest: 
     163      type: one 
     164      local: alias_id 
     165      foreign: id 
     166      cascade: [delete] 
  • branches/1.0/lib/Doctrine/Import/Schema.php

    r4679 r4710  
    116116                                                          'foreignType', 
    117117                                                          'autoComplete', 
     118                                                          'cascade', 
    118119                                                          'onDelete', 
    119120                                                          'onUpdate', 
  • branches/1.0/tests/schema.yml

    r4308 r4710  
    148148      name: test_col as test_col_alias 
    149149      type: string(255) 
     150       
     151# App-level cascade delete 
     152AppCascadeDeleteTest: 
     153  columns:  
     154    id:  
     155      primary: true 
     156      autoincrement: true 
     157      type: integer(4) 
     158    alias_id: 
     159      type: integer(4) 
     160 
     161  relations: 
     162    AliasTest: 
     163      type: one 
     164      local: alias_id 
     165      foreign: id 
     166      cascade: [delete]