diff options
| author | Joel Klinghed <the_jk@spawned.biz> | 2025-01-09 00:34:02 +0100 |
|---|---|---|
| committer | Joel Klinghed <the_jk@spawned.biz> | 2025-01-09 00:48:52 +0100 |
| commit | 6c6dd808a1005771f50696e1568dd6c653e2731b (patch) | |
| tree | 822a71086afe8c71de4b26099f6985a677c690a0 /server/.sqlx/query-940807355ceddb03b2b69306d30b081c4855858cd710399f9328075e885704fd.json | |
| parent | 6b81d27aaffd96b3f2a9aeb168a2c7f8fbe564c1 (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-940807355ceddb03b2b69306d30b081c4855858cd710399f9328075e885704fd.json')
| -rw-r--r-- | server/.sqlx/query-940807355ceddb03b2b69306d30b081c4855858cd710399f9328075e885704fd.json | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/server/.sqlx/query-940807355ceddb03b2b69306d30b081c4855858cd710399f9328075e885704fd.json b/server/.sqlx/query-940807355ceddb03b2b69306d30b081c4855858cd710399f9328075e885704fd.json new file mode 100644 index 0000000..412ba1f --- /dev/null +++ b/server/.sqlx/query-940807355ceddb03b2b69306d30b081c4855858cd710399f9328075e885704fd.json @@ -0,0 +1,12 @@ +{ + "db_name": "MySQL", + "query": "INSERT IGNORE INTO users (username,dn) VALUES (?,?), (?,?)", + "describe": { + "columns": [], + "parameters": { + "Right": 4 + }, + "nullable": [] + }, + "hash": "940807355ceddb03b2b69306d30b081c4855858cd710399f9328075e885704fd" +} |
