Posted By

skwok on 09/30/09


Tagged

propel schemayml


Versions (?)

propel schema.yml


 / Published in: PHP
 

  1. propel:
  2. sf_guard_group:
  3. _attributes: { phpName: sfGuardGroup }
  4. id: ~
  5. name: { type: varchar, size: 255, required: true, index: unique }
  6. description: { type: longvarchar }
  7.  
  8. sf_guard_permission:
  9. _attributes: { phpName: sfGuardPermission }
  10. id: ~
  11. name: { type: varchar, size: 255, required: true, index: unique }
  12. description: { type: longvarchar }
  13.  
  14. sf_guard_group_permission:
  15. _attributes: { phpName: sfGuardGroupPermission }
  16. group_id: { type: integer, primaryKey: true, required: true, foreignTable: sf_guard_group, foreignReference: id, onDelete: cascade }
  17. permission_id: { type: integer, primaryKey: true, required: true, foreignTable: sf_guard_permission, foreignReference: id, onDelete: cascade }

Report this snippet  

You need to login to post a comment.