Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sfGuardUser:
- actAs: [Timestampable]
- columns:
- first_name: string(255)
- last_name: string(255)
- email_address:
- type: string(255)
- notnull: true
- unique: true
- username:
- type: string(128)
- notnull: true
- unique: true
- date_of_birth:
- type: date
- default: null
- terms:
- type: bool
- gender:
- type: boolean
- default: null
- newsletter:
- type: boolean
- default: 1
- found: #google or yahoo
- type: boolean
- bids_left:
- type: integer
- default: 0
- referred_by:
- type: string(128)
- algorithm:
- type: string(128)
- default: sha1
- notnull: true
- salt: string(128)
- password: string(128)
- is_active:
- type: boolean
- default: 1
- is_super_admin:
- type: boolean
- default: false
- last_login:
- type: timestamp
- indexes:
- is_active_idx:
- fields: [is_active]
- relations:
- Groups:
- class: sfGuardGroup
- local: user_id
- foreign: group_id
- refClass: sfGuardUserGroup
- foreignAlias: Users
- Permissions:
- class: sfGuardPermission
- local: user_id
- foreign: permission_id
- refClass: sfGuardUserPermission
- foreignAlias: Users
- sfGuardUserProfile:
- tableName: sf_guard_user_profile
- columns:
- id:
- type: integer(4)
- primary: true
- autoincrement: true
- user_id:
- type: integer(4)
- notnull: true
- email:
- type: string(80)
- fullname:
- type: string(80)
- validate:
- type: string(17)
- # Don't forget this!
- relations:
- User:
- class: sfGuardUser
- #foreign: id
- local: user_id
- type: one
- onDelete: cascade
- foreignType: one
- foreignAlias: Profile
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement