Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sfGuardGroup:
- actAs: [Timestampable]
- columns:
- name:
- type: string(255)
- unique: true
- description: string(1000)
- relations:
- Users:
- class: sfGuardUser
- refClass: sfGuardUserGroup
- local: group_id
- foreign: id
- foreignAlias: Groups
- Permissions:
- class: sfGuardPermission
- local: permission_id
- foreign: id
- refClass: sfGuardGroupPermission
- foreignAlias: Groups
- sfGuardPermission:
- actAs: [Timestampable]
- columns:
- empresa_id:
- type: integer
- fixed: false
- unsigned: false
- primary: false
- notnull: true
- autoincrement: false
- default: 1
- name:
- type: string(255)
- unique: true
- description: string(1000)
- detalles:
- type: enum
- fixed: false
- unsigned: false
- primary: false
- autoincrement: false
- values: ['1', '2', '3', '4', '5', '6','7']
- status:
- type: integer(1)
- fixed: false
- unsigned: false
- primary: false
- notnull: true
- autoincrement: false
- relations:
- Empresa:
- local: empresa_id
- foreign: id
- type: one
- foreignType: many
- onDelete: CASCADE
- onUpdate: CASCADE
- sfGuardGroupPermission:
- options:
- symfony:
- form: false
- filter: false
- actAs: [Timestampable]
- columns:
- group_id:
- type: integer
- primary: true
- permission_id:
- type: integer
- primary: true
- relations:
- Group:
- class: sfGuardGroup
- local: group_id
- onDelete: CASCADE
- Permission:
- class: sfGuardPermission
- local: permission_id
- onDelete: CASCADE
- sfGuardUser:
- actAs: [Timestampable]
- columns:
- first_name: string(255)
- last_name: string(255)
- identificacion: string(50)
- fecha_nacimiento: date
- direcion: string()
- telefono_principal: string(50)
- telefono_adicional: string(50)
- telefono_emergencia: string(50)
- telefono_familiar: string(50)
- sexo: integer(1)
- edo_civil: string(50)
- licencia_conducir:
- type: string(50)
- notnull: false
- licencia_conducir_fecha:
- type: date
- notnull: false
- nacionalidad: string(50)
- empresa_id:
- type: integer
- notnull: true
- area_id:
- type: integer
- notnull: false
- ocupacion:
- type: string(50)
- notnull: true
- default: 1
- titulo:
- type: string(50)
- notnull: true
- default: 1
- grado_instruccion:
- type: string(50)
- notnull: true
- default: 1
- ingreso:
- type: date
- notnull: true
- salida:
- type: date
- notnull: false
- 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)
- identificacion_archivo:
- type: string(50)
- notnull: false
- domicilio_archivo:
- type: string(50)
- notnull: false
- foto_archivo:
- type: string(50)
- notnull: false
- is_active:
- type: boolean
- default: 1
- is_super_admin:
- type: boolean
- default: false
- last_login:
- type: timestamp
- alerta:
- type: string()
- notnull: false
- observacion:
- type: string()
- fixed: false
- unsigned: false
- primary: false
- autoincrement: false
- notnull: false
- indexes:
- is_active_idx:
- fields: [is_active]
- relations:
- Groups:
- class: sfGuardGroup
- local: group_id
- foreign: id
- refClass: sfGuardUserGroup
- foreignAlias: Users
- Permissions:
- class: sfGuardPermission
- local: user_id
- foreign: permission_id
- refClass: sfGuardUserPermission
- foreignAlias: Users
- Empresa:
- local: empresa_id
- foreign: id
- type: one
- onDelete: CASCADE
- onUpdate: CASCADE
- Area:
- local: area_id
- foreign: id
- type: one
- onDelete: NULL
- onUpdate: NULL
- sfGuardUserPermission:
- options:
- symfony:
- form: false
- filter: false
- actAs: [Timestampable]
- columns:
- user_id:
- type: integer
- primary: true
- permission_id:
- type: integer
- primary: true
- relations:
- User:
- class: sfGuardUser
- local: user_id
- onDelete: CASCADE
- Permission:
- class: sfGuardPermission
- local: permission_id
- onDelete: CASCADE
- sfGuardUserGroup:
- options:
- symfony:
- form: false
- filter: false
- actAs: [Timestampable]
- columns:
- user_id:
- type: integer
- primary: true
- group_id:
- type: integer
- primary: true
- relations:
- User:
- class: sfGuardUser
- local: user_id
- onDelete: CASCADE
- Group:
- class: sfGuardGroup
- local: group_id
- onDelete: CASCADE
- sfGuardRememberKey:
- options:
- symfony:
- form: false
- filter: false
- actAs: [Timestampable]
- columns:
- user_id: integer
- remember_key: string(32)
- ip_address: string(50)
- relations:
- User:
- class: sfGuardUser
- local: user_id
- foreignAlias: RememberKeys
- foreignType: one
- onDelete: CASCADE
- sfGuardForgotPassword:
- options:
- symfony:
- form: false
- filter: false
- actAs: [Timestampable]
- columns:
- user_id:
- type: integer
- notnull: true
- unique_key: string(255)
- expires_at:
- type: timestamp
- notnull: true
- relations:
- User:
- class: sfGuardUser
- local: user_id
- type: one
- foreignType: one
- foreignAlias: ForgotPassword
- onDelete: CASCADE
- sfGuardGroup:
- actAs: [Timestampable]
- columns:
- name:
- type: string(255)
- unique: true
- description: string(1000)
- relations:
- Users:
- class: sfGuardUser
- refClass: sfGuardUserGroup
- local: group_id
- foreign: id
- foreignAlias: Groups
- Permissions:
- class: sfGuardPermission
- local: permission_id
- foreign: id
- refClass: sfGuardGroupPermission
- foreignAlias: Groups
- sfGuardPermission:
- actAs: [Timestampable]
- columns:
- empresa_id:
- type: integer
- fixed: false
- unsigned: false
- primary: false
- notnull: true
- autoincrement: false
- default: 1
- name:
- type: string(255)
- unique: true
- description: string(1000)
- detalles:
- type: enum
- fixed: false
- unsigned: false
- primary: false
- autoincrement: false
- values: ['1', '2', '3', '4', '5', '6','7']
- status:
- type: integer(1)
- fixed: false
- unsigned: false
- primary: false
- notnull: true
- autoincrement: false
- relations:
- Empresa:
- local: empresa_id
- foreign: id
- type: one
- foreignType: many
- onDelete: CASCADE
- onUpdate: CASCADE
- sfGuardGroupPermission:
- options:
- symfony:
- form: false
- filter: false
- actAs: [Timestampable]
- columns:
- group_id:
- type: integer
- primary: true
- permission_id:
- type: integer
- primary: true
- relations:
- Group:
- class: sfGuardGroup
- local: group_id
- onDelete: CASCADE
- Permission:
- class: sfGuardPermission
- local: permission_id
- onDelete: CASCADE
- sfGuardUser:
- actAs: [Timestampable]
- columns:
- first_name: string(255)
- last_name: string(255)
- identificacion: string(50)
- fecha_nacimiento: date
- direcion: string()
- telefono_principal: string(50)
- telefono_adicional: string(50)
- telefono_emergencia: string(50)
- telefono_familiar: string(50)
- sexo: integer(1)
- edo_civil: string(50)
- licencia_conducir:
- type: string(50)
- notnull: false
- licencia_conducir_fecha:
- type: date
- notnull: false
- nacionalidad: string(50)
- empresa_id:
- type: integer
- notnull: true
- area_id:
- type: integer
- notnull: false
- ocupacion:
- type: string(50)
- notnull: true
- default: 1
- titulo:
- type: string(50)
- notnull: true
- default: 1
- grado_instruccion:
- type: string(50)
- notnull: true
- default: 1
- ingreso:
- type: date
- notnull: true
- salida:
- type: date
- notnull: false
- 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)
- identificacion_archivo:
- type: string(50)
- notnull: false
- domicilio_archivo:
- type: string(50)
- notnull: false
- foto_archivo:
- type: string(50)
- notnull: false
- is_active:
- type: boolean
- default: 1
- is_super_admin:
- type: boolean
- default: false
- last_login:
- type: timestamp
- alerta:
- type: string()
- notnull: false
- observacion:
- type: string()
- fixed: false
- unsigned: false
- primary: false
- autoincrement: false
- notnull: false
- indexes:
- is_active_idx:
- fields: [is_active]
- relations:
- Groups:
- class: sfGuardGroup
- local: group_id
- foreign: id
- refClass: sfGuardUserGroup
- foreignAlias: Users
- Permissions:
- class: sfGuardPermission
- local: user_id
- foreign: permission_id
- refClass: sfGuardUserPermission
- foreignAlias: Users
- Empresa:
- local: empresa_id
- foreign: id
- type: one
- onDelete: CASCADE
- onUpdate: CASCADE
- Area:
- local: area_id
- foreign: id
- type: one
- onDelete: NULL
- onUpdate: NULL
- sfGuardUserPermission:
- options:
- symfony:
- form: false
- filter: false
- actAs: [Timestampable]
- columns:
- user_id:
- type: integer
- primary: true
- permission_id:
- type: integer
- primary: true
- relations:
- User:
- class: sfGuardUser
- local: user_id
- onDelete: CASCADE
- Permission:
- class: sfGuardPermission
- local: permission_id
- onDelete: CASCADE
- sfGuardUserGroup:
- options:
- symfony:
- form: false
- filter: false
- actAs: [Timestampable]
- columns:
- user_id:
- type: integer
- primary: true
- group_id:
- type: integer
- primary: true
- relations:
- User:
- class: sfGuardUser
- local: user_id
- onDelete: CASCADE
- Group:
- class: sfGuardGroup
- local: group_id
- onDelete: CASCADE
- sfGuardRememberKey:
- options:
- symfony:
- form: false
- filter: false
- actAs: [Timestampable]
- columns:
- user_id: integer
- remember_key: string(32)
- ip_address: string(50)
- relations:
- User:
- class: sfGuardUser
- local: user_id
- foreignAlias: RememberKeys
- foreignType: one
- onDelete: CASCADE
- sfGuardForgotPassword:
- options:
- symfony:
- form: false
- filter: false
- actAs: [Timestampable]
- columns:
- user_id:
- type: integer
- notnull: true
- unique_key: string(255)
- expires_at:
- type: timestamp
- notnull: true
- relations:
- User:
- class: sfGuardUser
- local: user_id
- type: one
- foreignType: one
- foreignAlias: ForgotPassword
- onDelete: CASCADE
Add Comment
Please, Sign In to add comment