Mercurial > malikania
annotate doc/src/specs/db/spell.md @ 196:5b0f7ffab962
doc: initial html support
author | David Demelier <markand@malikania.fr> |
---|---|
date | Tue, 20 Nov 2018 12:14:00 +0100 |
parents | docs/specs/db/spell.md@3107ce017c3a |
children |
rev | line source |
---|---|
182 | 1 # Spell |
2 | |
3 Each `character` have a series of spell that is customized by the user. | |
4 | |
5 ## Table recommandation | |
6 | |
7 | field | type | | |
8 |---------------|---------------------------| | |
9 | id | big integer (primary key) | | |
196
5b0f7ffab962
doc: initial html support
David Demelier <markand@malikania.fr>
parents:
182
diff
changeset
|
10 | character\_id | big integer | |
182 | 11 | classname | string not null | |
12 | level | short int | | |
13 | |
14 ## Fields | |
15 | |
196
5b0f7ffab962
doc: initial html support
David Demelier <markand@malikania.fr>
parents:
182
diff
changeset
|
16 - id: unique idenfitier, |
5b0f7ffab962
doc: initial html support
David Demelier <markand@malikania.fr>
parents:
182
diff
changeset
|
17 - character\_id: references character.id, |
5b0f7ffab962
doc: initial html support
David Demelier <markand@malikania.fr>
parents:
182
diff
changeset
|
18 - classname: the class name to create, |
5b0f7ffab962
doc: initial html support
David Demelier <markand@malikania.fr>
parents:
182
diff
changeset
|
19 - level: spell level, |