summaryrefslogtreecommitdiff
path: root/docs/account_data.md
blob: 14b5c1fc9f9bc9b54e1d76060aa7d060bdca83ad (plain)
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
# account\_data

[<-Back-to:Characters](database-characters.md)

**The \`account\_data\` table**

Contains data about client account and settings.

**Structure**

| Field        | Type    | Attributes | Key | Null | Default | Extra | Comment |
| ------------ | ------- | ---------- | --- | ---- | ------- | ----- | ------- |
| [account][1] | INT     | UNSIGNED   | PRI | NO   | 0       |       |         |
| [type][2]    | TINYINT | UNSIGNED   | PRI | NO   | 0       |       |         |
| [time][3]    | INT     | UNSIGNED   |     | NO   | 0       |       |         |
| [data][4]    | BLOB    | SIGNED     |     | NO   |         |       |         |

[1]: #account
[2]: #type
[3]: #time
[4]: #data

**Description of the fields**

### account

[Account.id](http://www.azerothcore.org/wiki/account#id).

### type

| Value | Description                   |
| ----- | ----------------------------- |
| 0     | Global-account config cache   |
| 2     | Global-account bindings cache |
| 4     | Global-account macros cache   |

### time

Time of last modification in Unixtime

### data

No description can be written. You just must understand it's data.