aboutsummaryrefslogtreecommitdiff
path: root/schema.sql
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2024-03-23 19:01:29 +0000
committerJuan J. Martinez <jjm@usebox.net>2024-03-23 19:10:43 +0000
commit0a5471217b9f562b92f32802de4260390f639880 (patch)
treedaf0655fe2753351d7fac9010e3b50c499194bb2 /schema.sql
downloadpersonal-wiki-pybottle-0a5471217b9f562b92f32802de4260390f639880.tar.gz
personal-wiki-pybottle-0a5471217b9f562b92f32802de4260390f639880.zip
Initial import
Diffstat (limited to 'schema.sql')
-rw-r--r--schema.sql10
1 files changed, 10 insertions, 0 deletions
diff --git a/schema.sql b/schema.sql
new file mode 100644
index 0000000..0e0bfdb
--- /dev/null
+++ b/schema.sql
@@ -0,0 +1,10 @@
+BEGIN;
+CREATE TABLE IF NOT EXISTS pages(
+ name TEXT,
+ version TEXT,
+ content BLOB NOT NULL,
+ changelog TEXT,
+ updated_at TEXT,
+ PRIMARY KEY(name, version)
+);
+COMMIT;