summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-12-25 02:54:29 +0200
committerThanos Apollo <[email protected]>2023-12-25 02:54:29 +0200
commit9c8c864ac7f4f6eb8c1ca0a22e85bb9eb099ad08 (patch)
treed0ae0b2035e09f63b0bd86bccaee37b198889714
parent09aa247237567ebd366e7bba380a65c1733202cb (diff)
schema-notes: Set deck-id to :not-null
-rw-r--r--gnosis.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnosis.el b/gnosis.el
index e63dc69..b236ddf 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -257,7 +257,7 @@ Returns a list of the form (ef-increase ef-decrease ef)."
(options text :not-null)
(answer text :not-null)
(tags text :default untagged)
- (deck-id integer)]
+ (deck-id integer :not-null)]
(:foreign-key [deck-id] :references decks [id]
:on-delete :cascade)))