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-498432f84ea2c01707cc92a490ca116a3d45c7da646182e8e5153ac5b31c8d6f.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-498432f84ea2c01707cc92a490ca116a3d45c7da646182e8e5153ac5b31c8d6f.json')
| -rw-r--r-- | server/.sqlx/query-498432f84ea2c01707cc92a490ca116a3d45c7da646182e8e5153ac5b31c8d6f.json | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/server/.sqlx/query-498432f84ea2c01707cc92a490ca116a3d45c7da646182e8e5153ac5b31c8d6f.json b/server/.sqlx/query-498432f84ea2c01707cc92a490ca116a3d45c7da646182e8e5153ac5b31c8d6f.json new file mode 100644 index 0000000..b10c944 --- /dev/null +++ b/server/.sqlx/query-498432f84ea2c01707cc92a490ca116a3d45c7da646182e8e5153ac5b31c8d6f.json @@ -0,0 +1,25 @@ +{ + "db_name": "MySQL", + "query": "SELECT id AS count FROM projects WHERE id=?", + "describe": { + "columns": [ + { + "ordinal": 0, + "name": "count", + "type_info": { + "type": "LongLong", + "flags": "NOT_NULL | PRIMARY_KEY | UNSIGNED | AUTO_INCREMENT", + "char_set": 63, + "max_size": 20 + } + } + ], + "parameters": { + "Right": 1 + }, + "nullable": [ + false + ] + }, + "hash": "498432f84ea2c01707cc92a490ca116a3d45c7da646182e8e5153ac5b31c8d6f" +} |
