-
Notifications
You must be signed in to change notification settings - Fork 0
/
sfObjectGuardUser.yml
executable file
·53 lines (53 loc) · 1.36 KB
/
sfObjectGuardUser.yml
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
sfObjectGuardUser:
actAs: [Timestampable]
columns:
id:
type: integer(4)
primary: true
autoincrement: true
email:
type: string(128)
notnull: true
unique: true
algorithm:
type: string(128)
default: sha1
notnull: true
salt: string(128)
password:
type: string(128)
notnull: true
is_active:
type: boolean
default: false
is_super_admin:
type: boolean
default: false
last_login:
type: timestamp
key_type_id:
type: integer(4)
inviter_id:
type: integer(4)
indexes:
is_active_idx:
fields: [is_active]
relations:
Groups:
class: sfObjectGuardGroup
local: user_id
foreign: group_id
refClass: sfObjectGuardUserGroup
foreignAlias: Users
KeyType:
class: sfObjectGuardActivationKeyType
local: key_type_id
onDelete: CASCADE
Inviter:
class: sfObjectGuardUser
local: inviter_id
onDelete: CASCADE
ActivationKeys:
class: sfObjectGuardActivationKey
local: id
foreign: user_id