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-c75ed143fca19b2d827d589ce115a989097782d7f86a1fbfe7687cafb33e040c.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-c75ed143fca19b2d827d589ce115a989097782d7f86a1fbfe7687cafb33e040c.json')
| -rw-r--r-- | server/.sqlx/query-c75ed143fca19b2d827d589ce115a989097782d7f86a1fbfe7687cafb33e040c.json | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/server/.sqlx/query-c75ed143fca19b2d827d589ce115a989097782d7f86a1fbfe7687cafb33e040c.json b/server/.sqlx/query-c75ed143fca19b2d827d589ce115a989097782d7f86a1fbfe7687cafb33e040c.json new file mode 100644 index 0000000..7a582af --- /dev/null +++ b/server/.sqlx/query-c75ed143fca19b2d827d589ce115a989097782d7f86a1fbfe7687cafb33e040c.json @@ -0,0 +1,58 @@ +{ + "db_name": "MySQL", + "query": "SELECT id,username,name,dn FROM users ORDER BY username LIMIT ? OFFSET ?", + "describe": { + "columns": [ + { + "ordinal": 0, + "name": "id", + "type_info": { + "type": "LongLong", + "flags": "NOT_NULL | PRIMARY_KEY | UNSIGNED | AUTO_INCREMENT", + "char_set": 63, + "max_size": 20 + } + }, + { + "ordinal": 1, + "name": "username", + "type_info": { + "type": "VarString", + "flags": "NOT_NULL | UNIQUE_KEY | NO_DEFAULT_VALUE", + "char_set": 224, + "max_size": 1024 + } + }, + { + "ordinal": 2, + "name": "name", + "type_info": { + "type": "VarString", + "flags": "NOT_NULL", + "char_set": 224, + "max_size": 4096 + } + }, + { + "ordinal": 3, + "name": "dn", + "type_info": { + "type": "VarString", + "flags": "", + "char_set": 224, + "max_size": 1024 + } + } + ], + "parameters": { + "Right": 2 + }, + "nullable": [ + false, + false, + false, + true + ] + }, + "hash": "c75ed143fca19b2d827d589ce115a989097782d7f86a1fbfe7687cafb33e040c" +} |
