Guest User

Untitled

a guest
Jul 22nd, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. options:
  2. collate: utf8_unicode_ci
  3. charset: utf8
  4. attributes:
  5. export: all
  6.  
  7. UserNotification:
  8. actAs:
  9. - Timestampable
  10. columns:
  11. id: { type: integer, primary: true, autoincrement: true, unsigned: true }
  12. user_id: { type: integer, unsigned: true, notnull: true }
  13. title: { type: string(50) }
  14. description: { type: string(250), notnull: true }
  15. type: { type: string(50), notnull: true }
  16. foreing_id: { type: integer, unsigned: true, notnull: true }
  17.  
  18. relations:
  19. User: { foreignAlias: Users, local: user_id, foreign: id, type: one, foreignType: many, onDelete: CASCADE }
Add Comment
Please, Sign In to add comment