summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorick Peterse <yorickpeterse@gmail.com>2017-08-11 14:06:43 +0200
committerYorick Peterse <yorickpeterse@gmail.com>2017-08-16 16:39:37 +0200
commit39c5be7a1307e26a31f86f726df3c2f9ccd0c7d8 (patch)
treefd5f534a26437f393941ab2d6ceb9f0a032734a8
parent862da3cfed8db462589d0271e144f21f408cf73b (diff)
downloadgitlab-ce-39c5be7a1307e26a31f86f726df3c2f9ccd0c7d8.tar.gz
State that comma separated data is serialised data
Comma separated values really are a form of serialised data so we should clarify that we shouldn't store such data in the DB.
-rw-r--r--doc/development/serializing_data.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/development/serializing_data.md b/doc/development/serializing_data.md
index 2b56f48bc44..37332c20147 100644
--- a/doc/development/serializing_data.md
+++ b/doc/development/serializing_data.md
@@ -1,7 +1,8 @@
# Serializing Data
**Summary:** don't store serialized data in the database, use separate columns
-and/or tables instead.
+and/or tables instead. This includes storing of comma separated values as a
+string.
Rails makes it possible to store serialized data in JSON, YAML or other formats.
Such a field can be defined as follows: