Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- collate: utf8_unicode_ci
- charset: utf8
- attributes:
- export: all
- UserNotification:
- actAs:
- - Timestampable
- columns:
- id: { type: integer, primary: true, autoincrement: true, unsigned: true }
- user_id: { type: integer, unsigned: true, notnull: true }
- title: { type: string(50) }
- description: { type: string(250), notnull: true }
- type: { type: string(50), notnull: true }
- foreing_id: { type: integer, unsigned: true, notnull: true }
- relations:
- User: { foreignAlias: Users, local: user_id, foreign: id, type: one, foreignType: many, onDelete: CASCADE }
Add Comment
Please, Sign In to add comment