mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 23:42:23 -04:00
Merge pull request #943 from kerrickstaley/patch-1
Add comment explaining why sfld column has type integer
This commit is contained in:
commit
110a481a24
2 changed files with 4 additions and 0 deletions
|
@ -73,6 +73,8 @@ rye761 <ryebread761@gmail.com>
|
||||||
Guillem Palau Salvà <guillempalausalva@gmail.com>
|
Guillem Palau Salvà <guillempalausalva@gmail.com>
|
||||||
Meredith Derecho <meredithderecho@gmail.com>
|
Meredith Derecho <meredithderecho@gmail.com>
|
||||||
Daniel Wallgren <github.com/wallgrenen>
|
Daniel Wallgren <github.com/wallgrenen>
|
||||||
|
Kerrick Staley <kerrick@kerrickstaley.com>
|
||||||
|
|
||||||
********************
|
********************
|
||||||
|
|
||||||
The text of the 3 clause BSD license follows:
|
The text of the 3 clause BSD license follows:
|
||||||
|
|
|
@ -21,6 +21,8 @@ CREATE TABLE notes (
|
||||||
usn integer NOT NULL,
|
usn integer NOT NULL,
|
||||||
tags text NOT NULL,
|
tags text NOT NULL,
|
||||||
flds text NOT NULL,
|
flds text NOT NULL,
|
||||||
|
-- The use of type integer for sfld is deliberate, because it means that integer values in this
|
||||||
|
-- field will sort numerically.
|
||||||
sfld integer NOT NULL,
|
sfld integer NOT NULL,
|
||||||
csum integer NOT NULL,
|
csum integer NOT NULL,
|
||||||
flags integer NOT NULL,
|
flags integer NOT NULL,
|
||||||
|
|
Loading…
Reference in a new issue