From bc23a6de305aca21300f739d924cfca9ea3656ab Mon Sep 17 00:00:00 2001 From: Mark Hoeber Date: Mon, 9 Dec 2013 16:13:32 -0500 Subject: [PATCH] editing wiki data removed boilerplace from beginning of file --- .../internal_data_formats/wiki_data.rst | 56 ------------------- 1 file changed, 56 deletions(-) diff --git a/docs/data/source/internal_data_formats/wiki_data.rst b/docs/data/source/internal_data_formats/wiki_data.rst index f94ca30595..a9f001c3e6 100644 --- a/docs/data/source/internal_data_formats/wiki_data.rst +++ b/docs/data/source/internal_data_formats/wiki_data.rst @@ -9,62 +9,6 @@ Conventions to keep in mind: * edX currently uses an external application called Django Wiki for Wiki functionality within courses. -All of our tables will be described below, first in summary form with field types and constraints, and then with a detailed explanation of each field. For those not familiar with the MySQL schema terminology in the table summaries: - -`Type` - This is the kind of data it is, along with the size of the field. When a numeric field has a length specified, it just means that's how many digits we want displayed -- it has no affect on the number of bytes used. - - .. list-table:: - :widths: 10 80 - :header-rows: 1 - - * - Value - - Meaning - * - `int` - - 4 byte integer. - * - `smallint` - - 2 byte integer, sometimes used for enumerated values. - * - `tinyint` - - 1 byte integer, but usually just used to indicate a boolean field with 0 = False and 1 = True. - * - `varchar` - - String, typically short and indexable. The length is the number of chars, not bytes (so unicode friendly). - * - `longtext` - - A long block of text, usually not indexed. - * - `date` - - Date - * - `datetime` - - Datetime in UTC, precision in seconds. - -`Null` - - .. list-table:: - :widths: 10 80 - :header-rows: 1 - - * - Value - - Meaning - * - `YES` - - `NULL` values are allowed - * - `NO` - - `NULL` values are not allowed - - .. note:: - Django often just places blank strings instead of NULL when it wants to indicate a text value is optional. This is used more meaningful for numeric and date fields. - -`Key` - .. list-table:: - :widths: 10 80 - :header-rows: 1 - - * - Value - - Meaning - * - `PRI` - - Primary key for the table, usually named `id`, unique - * - `UNI` - - Unique - * - `MUL` - - Indexed for fast lookup, but the same value can appear multiple times. A Unique index that allows `NULL` can also show up as `MUL`. - **************** Notification Type