aboutsummaryrefslogtreecommitdiff
path: root/sql/README.txt
diff options
context:
space:
mode:
authorfusion32 <marcopuzziello@gmail.com>2025-10-10 15:14:02 -0300
committerfusion32 <marcopuzziello@gmail.com>2025-10-10 15:22:27 -0300
commit46c653293381dcc1188013d3e2c3f7587a199dc4 (patch)
tree0b9776f73d6e2afcd9104cf400dc5e345fcdcbea /sql/README.txt
parentcc4873e33866ba86561774a7e55449d59367661e (diff)
downloadquerymanager-46c653293381dcc1188013d3e2c3f7587a199dc4.tar.gz
querymanager-46c653293381dcc1188013d3e2c3f7587a199dc4.zip
organize database configs and schema files + compilation guards
Diffstat (limited to 'sql/README.txt')
-rw-r--r--sql/README.txt10
1 files changed, 0 insertions, 10 deletions
diff --git a/sql/README.txt b/sql/README.txt
deleted file mode 100644
index 26f782a..0000000
--- a/sql/README.txt
+++ /dev/null
@@ -1,10 +0,0 @@
- The query manager will properly initialize and upgrade the database schema
-based on files in this folder. The initial schema should be in `schema.sql` and
-upgrades should be in `upgrade-N.sql` where N is a number starting from 1. The
-`upgrade-N.sql` file should take the database from version N to N + 1.
- The only restriction to these files is that they can't have transaction
-statements ("BEGIN", "ROLLBACK", "COMMIT") because the query manager will
-already bundle them into a transaction that also sets `user_version`, and
-and nested transactions aren't allowed.
- The current database version can be retrieved with the "PRAGMA user_version"
-query in the SQLite shell. \ No newline at end of file