summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2017-04-29 20:15:30 +0200
committerThomas Lange <code@nerdmind.de>2017-04-29 20:15:30 +0200
commit3a8d19a5253b775fe59038a9f0d9321a4ed4a6ae (patch)
treeca02a6f1644be7a861b67eeadd492340ca1e99ab
parent3b7fd9fa7395cff02ff7d6e03abdca2180826824 (diff)
downloadwiki-3a8d19a5253b775fe59038a9f0d9321a4ed4a6ae.tar.gz
wiki-3a8d19a5253b775fe59038a9f0d9321a4ed4a6ae.tar.xz
wiki-3a8d19a5253b775fe59038a9f0d9321a4ed4a6ae.zip
Markdown formatting for NULL added.
-rw-r--r--Database.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/Database.md b/Database.md
index 762c67d..5e49fed 100644
--- a/Database.md
+++ b/Database.md
@@ -8,7 +8,7 @@ In this table are all created page objects stored and will be removed if the adm
* Column `slug`: Contains the slug part of the pages absolute URL
* Column `name`: Contains the name of the page
* Column `body`: Contains the body of the page in the markdown format
-* Column `argv`: Contains the optional argument string or is NULL
+* Column `argv`: Contains the optional argument string or is `NULL`
## Table `post` [`MyISAM`]
In this table are all created post objects stored and will be removed if the admin deletes them.
@@ -21,7 +21,7 @@ The table type is `MyISAM` because the fulltext search doesn't work with `InnoDB
* Column `slug`: Contains the slug part of the posts absolute URL
* Column `name`: Contains the name of the post
* Column `body`: Contains the body of the post in the markdown format
-* Column `argv`: Contains the optional argument string or is NULL
+* Column `argv`: Contains the optional argument string or is `NULL`
## Table `user` [`InnoDB`]
In this table are all created user objects stored and will be removed if the admin deletes them.
@@ -35,7 +35,7 @@ In this table are all created user objects stored and will be removed if the adm
* Column `fullname`: Contains the full name of the user
* Column `mailaddr`: Contains the contact email address of the user
* Column `body`: Contains the body of the user in the markdown format
-* Column `argv`: Contains the optional argument string or is NULL
+* Column `argv`: Contains the optional argument string or is `NULL`
## Why database table prefixes are not supported
The blogging application does not support the definition of a prefix for the database tables. This is because one database should only contain the data from one application (and if this is the case, prefixes are unnecessary). If multiple applications are sharing the same database and a security vulnerability is discovered in one of those applications, an attacker may be able to manipulate the data from the second application through the security vulnerability in the first application. \ No newline at end of file