Author: Jonathan.Wage
Date: 2010-01-20 07:29:58 +0100 (Wed, 20 Jan 2010)
New Revision: 26912

Modified:
   plugins/sfSympalPlugin/trunk/config/doctrine/schema.yml
Log:
[1.4][sfSympalPlugin][1.0] removing ondelete cascade from created_by_id


Modified: plugins/sfSympalPlugin/trunk/config/doctrine/schema.yml
===================================================================
--- plugins/sfSympalPlugin/trunk/config/doctrine/schema.yml     2010-01-20 
05:29:48 UTC (rev 26911)
+++ plugins/sfSympalPlugin/trunk/config/doctrine/schema.yml     2010-01-20 
06:29:58 UTC (rev 26912)
@@ -45,9 +45,7 @@
       type: integer
       notnull: true
     last_updated_by_id: integer
-    created_by_id:
-      type: integer
-      notnull: true
+    created_by_id: integer
     date_published: timestamp
     custom_path: string(255)
     theme: string(255)
@@ -71,7 +69,7 @@
       class: <?php echo sfSympalConfig::get('user_model') ?> 
       local: created_by_id
       foreignAlias: CreatedContent
-      onDelete: CASCADE
+      onDelete: SET NULL
     Site:
       local: site_id
       class: sfSympalSite

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


Reply via email to