Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- How to remove column redundancy from sfDoctrineGuard, sfForkedDoctrineApply, and MyProfile?
- MyProfile:
- ...
- inheritance:
- type: column_aggregation
- extends: sfGuardUserProfile
- MyProfile:
- columns:
- ...
- relations:
- User:
- class: sfGuardUser
- local: user_id
- foreign: id
- type: one
- foreignType: one
- foreignAlias: Profile
- inheritance:
- type: column_aggregation
- extends: sfGuardUserProfile
- sfGuardUserProfile:
- actAs:
- Timestampable: ~
- columns:
- user_id:
- type: integer
- notnull: true
- unique: true
- email_new:
- type: string(255)
- unique: true
- firstname:
- type: string(255)
- lastname:
- type: string(255)
- validate_at:
- type: timestamp
- validate:
- type: string(33)
- relations:
- User:
- class: sfGuardUser
- foreign: id
- local: user_id
- type: one
- onDelete: cascade
- foreignType: one
- foreignAlias: Profile
- indexes:
- validate:
- fields: [validate]
- 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
- 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:
- ...
Add Comment
Please, Sign In to add comment