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-bffe3fa09ca251f3ba7dc4e64503f761300213b39baff8bb95322676c18f7ba4.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-bffe3fa09ca251f3ba7dc4e64503f761300213b39baff8bb95322676c18f7ba4.json')
| -rw-r--r-- | server/.sqlx/query-bffe3fa09ca251f3ba7dc4e64503f761300213b39baff8bb95322676c18f7ba4.json | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/server/.sqlx/query-bffe3fa09ca251f3ba7dc4e64503f761300213b39baff8bb95322676c18f7ba4.json b/server/.sqlx/query-bffe3fa09ca251f3ba7dc4e64503f761300213b39baff8bb95322676c18f7ba4.json new file mode 100644 index 0000000..22f2ca0 --- /dev/null +++ b/server/.sqlx/query-bffe3fa09ca251f3ba7dc4e64503f761300213b39baff8bb95322676c18f7ba4.json @@ -0,0 +1,25 @@ +{ + "db_name": "MySQL", + "query": "SELECT COUNT(user) AS count FROM project_users WHERE project=? AND user=? AND maintainer=TRUE", + "describe": { + "columns": [ + { + "ordinal": 0, + "name": "count", + "type_info": { + "type": "LongLong", + "flags": "NOT_NULL | BINARY", + "char_set": 63, + "max_size": 21 + } + } + ], + "parameters": { + "Right": 2 + }, + "nullable": [ + false + ] + }, + "hash": "bffe3fa09ca251f3ba7dc4e64503f761300213b39baff8bb95322676c18f7ba4" +} |
