SHARE
TWEET

inheritance with taggable

a guest Apr 1st, 2010 84 Never
  1.  
  2. Bal_User:
  3.     actAs:
  4.         Taggable:
  5.             tagAlias: "SubscriptionTags"
  6.         SoftDelete:
  7.         Timestampable:
  8.     columns:
  9.         id:
  10.             type: integer(2)
  11.             unsigned: true
  12.             primary: true
  13.             autoincrement: true
  14.         username:
  15.             type: string(16)
  16.             notblank: true
  17.             unique: true
  18.  
  19. User:
  20.     inheritance:
  21.         extends: Bal_User
  22.         type: simple
  23.     columns:
  24.         fullname:
  25.             type: string(85)
  26.             notblank: true
RAW Paste Data
Top