add more sqlx
Some checks are pending
Docker Build and Push / build (push) Waiting to run

This commit is contained in:
Tsuki 2025-08-17 18:57:02 +08:00
parent 5681efaead
commit a18bbcf006
5 changed files with 3 additions and 141 deletions

View File

@ -1,14 +0,0 @@
{
"db_name": "PostgreSQL",
"query": "DELETE FROM settings WHERE id = $1",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Uuid"
]
},
"nullable": []
},
"hash": "431c4c6620a596862ed42ca0e402b093bd4c1d13f14f906d00b2b37c832f48ca"
}

View File

@ -90,5 +90,5 @@
true
]
},
"hash": "19c23596ea8098fdf9a13f4a4f033e646282fc1df35afa27dd2b1b91dec607cf"
"hash": "66e959b4895bc3ec9e273fd85f7e482edd1ff122e72fc3be0f3489b991f3b080"
}

View File

@ -1,102 +0,0 @@
{
"db_name": "PostgreSQL",
"query": "\n INSERT INTO settings (key, value, value_type, description, category, is_encrypted, is_system, is_editable, created_by)\n VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9)\n RETURNING id, key, value, value_type, description, category, is_encrypted, is_system, is_editable, \n created_at as \"created_at: DateTime<Utc>\", \n updated_at as \"updated_at: DateTime<Utc>\", \n created_by, updated_by\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "id",
"type_info": "Uuid"
},
{
"ordinal": 1,
"name": "key",
"type_info": "Varchar"
},
{
"ordinal": 2,
"name": "value",
"type_info": "Text"
},
{
"ordinal": 3,
"name": "value_type",
"type_info": "Varchar"
},
{
"ordinal": 4,
"name": "description",
"type_info": "Text"
},
{
"ordinal": 5,
"name": "category",
"type_info": "Varchar"
},
{
"ordinal": 6,
"name": "is_encrypted",
"type_info": "Bool"
},
{
"ordinal": 7,
"name": "is_system",
"type_info": "Bool"
},
{
"ordinal": 8,
"name": "is_editable",
"type_info": "Bool"
},
{
"ordinal": 9,
"name": "created_at: DateTime<Utc>",
"type_info": "Timestamptz"
},
{
"ordinal": 10,
"name": "updated_at: DateTime<Utc>",
"type_info": "Timestamptz"
},
{
"ordinal": 11,
"name": "created_by",
"type_info": "Uuid"
},
{
"ordinal": 12,
"name": "updated_by",
"type_info": "Uuid"
}
],
"parameters": {
"Left": [
"Varchar",
"Text",
"Varchar",
"Text",
"Varchar",
"Bool",
"Bool",
"Bool",
"Uuid"
]
},
"nullable": [
false,
false,
true,
false,
true,
true,
true,
true,
true,
false,
false,
true,
true
]
},
"hash": "6bab42214f2c28a3985afa5ce4bbb5377b96d7b28490db0be5d775a67a8cfcdb"
}

View File

@ -1,22 +0,0 @@
{
"db_name": "PostgreSQL",
"query": "SELECT id FROM settings WHERE key = $1",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "id",
"type_info": "Uuid"
}
],
"parameters": {
"Left": [
"Text"
]
},
"nullable": [
false
]
},
"hash": "9daeb02358c339adce84ed11cacc7489ab9ad3c009ca40557d535f5c498704ba"
}

View File

@ -18,7 +18,7 @@ COPY src ./src
COPY .sqlx .sqlx
# ENV SQLX_OFFLINE=true
ENV SQLX_OFFLINE=true
RUN cargo build --release
FROM debian:bookworm-slim