Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- User:
- tableName: user
- columns:
- group_id:
- type: integer
- country_id:
- type: integer
- email:
- type: string(255)
- notnull: true
- password:
- type: string(255)
- notnull: true
- name:
- type: string(255)
- notnull: true
- last_login:
- type: timestamp
- superuser:
- type: boolean
- notnull: true
- default: false
- indexes:
- email:
- fields: email
- relations:
- Group:
- local: group_id
- foreign: id
- onDelete: SET NULL
- Country:
- local: country_id
- foreign: id
- onDelete: SET NULL
- Contacts:
- class: Contact
- local: user_id
- foreign: contact_id
- refClass: UserContact
- Customers:
- class: Customer
- local: user_id
- foreign: customer_id
- refClass: CustomerUser
- actAs: [Timestampable]
- options:
- type: InnoDB
- collate: utf8_unicode_ci
- charset: utf8
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement