summaryrefslogtreecommitdiff
path: root/server/.sqlx/query-21e286004af94c0a0e26a4fe494b4a858fc02e4d63cec67231f837748a9f9702.json
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@spawned.biz>2025-01-09 00:34:02 +0100
committerJoel Klinghed <the_jk@spawned.biz>2025-01-09 00:48:52 +0100
commit6c6dd808a1005771f50696e1568dd6c653e2731b (patch)
tree822a71086afe8c71de4b26099f6985a677c690a0 /server/.sqlx/query-21e286004af94c0a0e26a4fe494b4a858fc02e4d63cec67231f837748a9f9702.json
parent6b81d27aaffd96b3f2a9aeb168a2c7f8fbe564c1 (diff)
Move sqlx to "offline mode"
Avoid having to have an active server and a migrated database to be able to build. Instead, when a new query is added or the database updated, cargo sqlx prepare needs to be run again, then with a running server and an active database. But only then.
Diffstat (limited to 'server/.sqlx/query-21e286004af94c0a0e26a4fe494b4a858fc02e4d63cec67231f837748a9f9702.json')
-rw-r--r--server/.sqlx/query-21e286004af94c0a0e26a4fe494b4a858fc02e4d63cec67231f837748a9f9702.json12
1 files changed, 12 insertions, 0 deletions
diff --git a/server/.sqlx/query-21e286004af94c0a0e26a4fe494b4a858fc02e4d63cec67231f837748a9f9702.json b/server/.sqlx/query-21e286004af94c0a0e26a4fe494b4a858fc02e4d63cec67231f837748a9f9702.json
new file mode 100644
index 0000000..4abfa06
--- /dev/null
+++ b/server/.sqlx/query-21e286004af94c0a0e26a4fe494b4a858fc02e4d63cec67231f837748a9f9702.json
@@ -0,0 +1,12 @@
+{
+ "db_name": "MySQL",
+ "query": "INSERT INTO projects (title, description, remote, main_branch) VALUES (?, ?, ?, ?)",
+ "describe": {
+ "columns": [],
+ "parameters": {
+ "Right": 4
+ },
+ "nullable": []
+ },
+ "hash": "21e286004af94c0a0e26a4fe494b4a858fc02e4d63cec67231f837748a9f9702"
+}