1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
| Permission:
actAs: [Timestampable]
columns:
name: {type: string(255), unique: true}
description: {type: string(1000)}
GroupPermission:
actAs: [Timestampable]
options:
symfony: {form: false, filter: false}
columns:
group_id: {type: integer, notnull: true, primary: true}
permission_id: {type: integer, notnull: true, primary: true}
relations:
SecureGroup: {onDelete: CASCADE, onUpdate: CASCADE}
SecurePermission: {onDelete: CASCADE, onUpdate: CASCADE}
Group:
actAs: [Timestampable]
columns:
name: {type: string(255), notnull: true, unique: true}
description: {type: string(1000)}
relations:
User: {refClass: UserGroup, foreignAlias: Groups}
Permission: {refClass: GroupPermission, foreignAlias: Groups}
UserGroup:
actAs: [Timestampable]
options:
symfony: {form: false, filter: false}
columns:
user_id: {type: integer, notnull: true, primary: true}
group_id: {type: integer, notnull: true, primary: true}
relations:
User: {onDelete: CASCADE, onUpdate: CASCADE}
Group: {onDelete: CASCADE, onUpdate: CASCADE}
User:
connection: doctrine
actAs: [Timestampable]
columns:
first_name: {type: string(255), notnull: true}
last_name: {type: string(255), notnull: true}
email_address: {type: string(255), notnull: true, unique: true}
username: {type: string(255), notnull: true, unique: true}
password: {type: string(255), notnull: true}
is_active: {type: boolean, default: 1}
hash: {type: string(255)}
last_login: {type: timestamp}
entity_id: {type: integer, notnull: true}
relations:
Group: {refClass: UserGroup, foreignAlias: Users}
entity: {foreignAlias: UserEntity} |
Partager