Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- GnArticle:
- actAs:
- Timestampable: ~
- I18n:
- fields: [title,content]
- actAs:
- Sluggable: { fields: [title], uniqueBy: [lang, title] }
- columns:
- id:
- type: integer(4)
- primary: true
- autoincrement: true
- category_id:
- type: integer(4)
- notnull: true
- author_id:
- type: integer(4)
- notnull: true
- title:
- type: string(255)
- notnull: true
- content: string(10000)
- publish_date: timestamp
- unpublish_date: timestamp
- is_published:
- type: boolean
- default: 0
- relations:
- gnCategory:
- local: category_id
- foreign: id
- Author:
- class: GnTeamUser
- local: author_id
- foreign: id
Add Comment
Please, Sign In to add comment