aboutsummaryrefslogtreecommitdiff
path: root/migrations
diff options
context:
space:
mode:
authorNathan Ringo <nathan@remexre.com>2024-01-18 19:02:16 -0600
committerNathan Ringo <nathan@remexre.com>2024-01-18 19:02:16 -0600
commit5588808852a2fd379be0e9c01cf67cfdcbcdd4c3 (patch)
tree0bd001973612cc858ac391ee009d943b15940393 /migrations
parent81fb055292f49a76732c1966874b8d2ad2cb1807 (diff)
Prepare to output non-single-expr messages.
Diffstat (limited to 'migrations')
-rw-r--r--migrations/20240118234708_init_discocaml.sql7
1 files changed, 7 insertions, 0 deletions
diff --git a/migrations/20240118234708_init_discocaml.sql b/migrations/20240118234708_init_discocaml.sql
new file mode 100644
index 0000000..adce26a
--- /dev/null
+++ b/migrations/20240118234708_init_discocaml.sql
@@ -0,0 +1,7 @@
+-- We're just storing a map between interaction IDs and the expression at the
+-- time. If we ever get theorem proving support, this'll probably need to be
+-- extended... That, or we just have another table for the context?
+CREATE TABLE IF NOT EXISTS discocaml_exprs
+ ( interaction_id INTEGER PRIMARY KEY
+ , expr TEXT NOT NULL
+ );