summaryrefslogtreecommitdiff
path: root/src/chef/database/init.clj
diff options
context:
space:
mode:
authorTim <contact@bytim.eu>2025-05-13 23:07:00 +0200
committerTim <contact@bytim.eu>2025-05-13 23:07:00 +0200
commit587976b8a16b884ccd7b7dba9ff7209772d395ce (patch)
tree61ff6d127f060152eaba107d51002b8599389858 /src/chef/database/init.clj
parent58906c635ad0ea2028f99997cb673ef40a2ea2bb (diff)
downloadchef-587976b8a16b884ccd7b7dba9ff7209772d395ce.tar.xz
chef-587976b8a16b884ccd7b7dba9ff7209772d395ce.zip
Add basic structure for category settings
Diffstat (limited to 'src/chef/database/init.clj')
-rw-r--r--src/chef/database/init.clj2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chef/database/init.clj b/src/chef/database/init.clj
index f791e39..803e85a 100644
--- a/src/chef/database/init.clj
+++ b/src/chef/database/init.clj
@@ -8,7 +8,7 @@
[:name :text]
[:question :text]
[:children :text]
- [:parent :text]]}))
+ [:parent :text]]})) ;TODO: create root category
(jdbc/execute! db (sql/format {:create-table :recipes
:with-columns [[:id :integer :auto-increment :primary-key]
[:category :integer]