mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-01-15 05:33:29 +01:00
863 lines
23 KiB
JSON
863 lines
23 KiB
JSON
{
|
|
"db": "SQLite",
|
|
"06aaf8f4a17566f1d25da2a60f0baf4b5fc28c3cf0c001a84e25edf9eab3c7e3": {
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"name": "model",
|
|
"ordinal": 0,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "created_at",
|
|
"ordinal": 1,
|
|
"type_info": "Datetime"
|
|
},
|
|
{
|
|
"name": "updated_at",
|
|
"ordinal": 2,
|
|
"type_info": "Datetime"
|
|
},
|
|
{
|
|
"name": "namespace",
|
|
"ordinal": 3,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "key",
|
|
"ordinal": 4,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "value",
|
|
"ordinal": 5,
|
|
"type_info": "Text"
|
|
}
|
|
],
|
|
"nullable": [
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false
|
|
],
|
|
"parameters": {
|
|
"Right": 2
|
|
}
|
|
},
|
|
"query": "\n SELECT model, created_at, updated_at, namespace, key, value\n FROM key_values\n WHERE namespace = ? AND key = ?\n "
|
|
},
|
|
"07d1a1c7b4f3d9625a766e60fd57bb779b71dae30e5bbce34885a911a5a42428": {
|
|
"describe": {
|
|
"columns": [],
|
|
"nullable": [],
|
|
"parameters": {
|
|
"Right": 1
|
|
}
|
|
},
|
|
"query": "\n DELETE FROM http_responses\n WHERE id = ?\n "
|
|
},
|
|
"26072725d536c3cfdffd9a681d17c0ee2f246ca98e0459630a2430236d3bbdd2": {
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"name": "id",
|
|
"ordinal": 0,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "model",
|
|
"ordinal": 1,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "workspace_id",
|
|
"ordinal": 2,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "request_id",
|
|
"ordinal": 3,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "updated_at",
|
|
"ordinal": 4,
|
|
"type_info": "Datetime"
|
|
},
|
|
{
|
|
"name": "created_at",
|
|
"ordinal": 5,
|
|
"type_info": "Datetime"
|
|
},
|
|
{
|
|
"name": "url",
|
|
"ordinal": 6,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "status",
|
|
"ordinal": 7,
|
|
"type_info": "Int64"
|
|
},
|
|
{
|
|
"name": "status_reason",
|
|
"ordinal": 8,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "content_length",
|
|
"ordinal": 9,
|
|
"type_info": "Int64"
|
|
},
|
|
{
|
|
"name": "body",
|
|
"ordinal": 10,
|
|
"type_info": "Blob"
|
|
},
|
|
{
|
|
"name": "body_path",
|
|
"ordinal": 11,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "elapsed",
|
|
"ordinal": 12,
|
|
"type_info": "Int64"
|
|
},
|
|
{
|
|
"name": "error",
|
|
"ordinal": 13,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "headers!: sqlx::types::Json<Vec<HttpResponseHeader>>",
|
|
"ordinal": 14,
|
|
"type_info": "Text"
|
|
}
|
|
],
|
|
"nullable": [
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
true,
|
|
true,
|
|
true,
|
|
true,
|
|
false,
|
|
true,
|
|
false
|
|
],
|
|
"parameters": {
|
|
"Right": 1
|
|
}
|
|
},
|
|
"query": "\n SELECT id, model, workspace_id, request_id, updated_at, created_at, url,\n status, status_reason, content_length, body, body_path, elapsed, error,\n headers AS \"headers!: sqlx::types::Json<Vec<HttpResponseHeader>>\"\n FROM http_responses\n WHERE workspace_id = ?\n ORDER BY created_at DESC\n "
|
|
},
|
|
"448a1d1f1866ab42c0f81fcf8eb2930bf21dfdd43ca4831bc1a198cf45ac3732": {
|
|
"describe": {
|
|
"columns": [],
|
|
"nullable": [],
|
|
"parameters": {
|
|
"Right": 1
|
|
}
|
|
},
|
|
"query": "\n DELETE FROM http_requests\n WHERE id = ?\n "
|
|
},
|
|
"5aa070e61995f8b1724efaa94c5f0cef5a4be6efda5d70354ad449d7d4b5aee4": {
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"name": "id",
|
|
"ordinal": 0,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "model",
|
|
"ordinal": 1,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "workspace_id",
|
|
"ordinal": 2,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "request_id",
|
|
"ordinal": 3,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "updated_at",
|
|
"ordinal": 4,
|
|
"type_info": "Datetime"
|
|
},
|
|
{
|
|
"name": "created_at",
|
|
"ordinal": 5,
|
|
"type_info": "Datetime"
|
|
},
|
|
{
|
|
"name": "url",
|
|
"ordinal": 6,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "status",
|
|
"ordinal": 7,
|
|
"type_info": "Int64"
|
|
},
|
|
{
|
|
"name": "status_reason",
|
|
"ordinal": 8,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "content_length",
|
|
"ordinal": 9,
|
|
"type_info": "Int64"
|
|
},
|
|
{
|
|
"name": "body",
|
|
"ordinal": 10,
|
|
"type_info": "Blob"
|
|
},
|
|
{
|
|
"name": "body_path",
|
|
"ordinal": 11,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "elapsed",
|
|
"ordinal": 12,
|
|
"type_info": "Int64"
|
|
},
|
|
{
|
|
"name": "error",
|
|
"ordinal": 13,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "headers!: sqlx::types::Json<Vec<HttpResponseHeader>>",
|
|
"ordinal": 14,
|
|
"type_info": "Text"
|
|
}
|
|
],
|
|
"nullable": [
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
true,
|
|
true,
|
|
true,
|
|
true,
|
|
false,
|
|
true,
|
|
false
|
|
],
|
|
"parameters": {
|
|
"Right": 1
|
|
}
|
|
},
|
|
"query": "\n SELECT id, model, workspace_id, request_id, updated_at, created_at, url,\n status, status_reason, content_length, body, body_path, elapsed, error,\n headers AS \"headers!: sqlx::types::Json<Vec<HttpResponseHeader>>\"\n FROM http_responses\n WHERE request_id = ?\n ORDER BY created_at DESC\n "
|
|
},
|
|
"62475fd9483fb5eda01c937949da2ef66ac7005b4be06b87aa6210d462348aca": {
|
|
"describe": {
|
|
"columns": [],
|
|
"nullable": [],
|
|
"parameters": {
|
|
"Right": 10
|
|
}
|
|
},
|
|
"query": "\n UPDATE http_responses SET (\n elapsed,\n url,\n status,\n status_reason,\n content_length,\n body,\n body_path,\n error,\n headers,\n updated_at\n ) = (?, ?, ?, ?, ?, ?, ?, ?, ?, CURRENT_TIMESTAMP) WHERE id = ?;\n "
|
|
},
|
|
"6f0cb5a6d1e8dbc8cdfcc3c7e7944b2c83c22cb795b9d6b98fe067dabec9680b": {
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"name": "id",
|
|
"ordinal": 0,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "model",
|
|
"ordinal": 1,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "workspace_id",
|
|
"ordinal": 2,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "created_at",
|
|
"ordinal": 3,
|
|
"type_info": "Datetime"
|
|
},
|
|
{
|
|
"name": "updated_at",
|
|
"ordinal": 4,
|
|
"type_info": "Datetime"
|
|
},
|
|
{
|
|
"name": "name",
|
|
"ordinal": 5,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "url",
|
|
"ordinal": 6,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "method",
|
|
"ordinal": 7,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "body",
|
|
"ordinal": 8,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "body_type",
|
|
"ordinal": 9,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "authentication!: Json<HashMap<String, JsonValue>>",
|
|
"ordinal": 10,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "authentication_type",
|
|
"ordinal": 11,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "sort_priority",
|
|
"ordinal": 12,
|
|
"type_info": "Float"
|
|
},
|
|
{
|
|
"name": "headers!: sqlx::types::Json<Vec<HttpRequestHeader>>",
|
|
"ordinal": 13,
|
|
"type_info": "Text"
|
|
}
|
|
],
|
|
"nullable": [
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
true,
|
|
true,
|
|
false,
|
|
true,
|
|
false,
|
|
false
|
|
],
|
|
"parameters": {
|
|
"Right": 1
|
|
}
|
|
},
|
|
"query": "\n SELECT\n id,\n model,\n workspace_id,\n created_at,\n updated_at,\n name,\n url,\n method,\n body,\n body_type,\n authentication AS \"authentication!: Json<HashMap<String, JsonValue>>\",\n authentication_type,\n sort_priority,\n headers AS \"headers!: sqlx::types::Json<Vec<HttpRequestHeader>>\"\n FROM http_requests\n WHERE workspace_id = ?\n "
|
|
},
|
|
"6f12b56113b09966b472431b6cb95c354bea51b4dfb22a96517655c0fca0ab05": {
|
|
"describe": {
|
|
"columns": [],
|
|
"nullable": [],
|
|
"parameters": {
|
|
"Right": 3
|
|
}
|
|
},
|
|
"query": "\n UPDATE environments\n SET (name, data, updated_at) = (?, ?, CURRENT_TIMESTAMP)\n WHERE id = ?;\n "
|
|
},
|
|
"84be2b954870ab181738656ecd4d03fca2ff21012947014c79626abfce8e999b": {
|
|
"describe": {
|
|
"columns": [],
|
|
"nullable": [],
|
|
"parameters": {
|
|
"Right": 1
|
|
}
|
|
},
|
|
"query": "\n DELETE FROM workspaces\n WHERE id = ?\n "
|
|
},
|
|
"8947a2a90478277c42fe9b06bc1fa98197642a4d281a3dbc101be2c9c1fec36c": {
|
|
"describe": {
|
|
"columns": [],
|
|
"nullable": [],
|
|
"parameters": {
|
|
"Right": 11
|
|
}
|
|
},
|
|
"query": "\n INSERT INTO http_responses (\n id,\n request_id,\n workspace_id,\n elapsed,\n url,\n status,\n status_reason,\n content_length,\n body,\n body_path,\n headers\n )\n VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?);\n "
|
|
},
|
|
"986763e31599881f287ef378002fc35d8e983af10a30a9aa4ade606dacf83260": {
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"name": "id",
|
|
"ordinal": 0,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "workspace_id",
|
|
"ordinal": 1,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "model",
|
|
"ordinal": 2,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "created_at",
|
|
"ordinal": 3,
|
|
"type_info": "Datetime"
|
|
},
|
|
{
|
|
"name": "updated_at",
|
|
"ordinal": 4,
|
|
"type_info": "Datetime"
|
|
},
|
|
{
|
|
"name": "name",
|
|
"ordinal": 5,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "data!: Json<HashMap<String, JsonValue>>",
|
|
"ordinal": 6,
|
|
"type_info": "Text"
|
|
}
|
|
],
|
|
"nullable": [
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false
|
|
],
|
|
"parameters": {
|
|
"Right": 1
|
|
}
|
|
},
|
|
"query": "\n SELECT id, workspace_id, model, created_at, updated_at, name,\n data AS \"data!: Json<HashMap<String, JsonValue>>\"\n FROM environments\n WHERE workspace_id = ?\n "
|
|
},
|
|
"ab7294b681f1202ef06aaa26885147ead2db6ac740023793cda1e1c92665d996": {
|
|
"describe": {
|
|
"columns": [],
|
|
"nullable": [],
|
|
"parameters": {
|
|
"Right": 4
|
|
}
|
|
},
|
|
"query": "\n INSERT INTO environments (\n id,\n workspace_id,\n name,\n data\n )\n VALUES (?, ?, ?, ?)\n "
|
|
},
|
|
"b19c275180909a39342b13c3cdcf993781636913ae590967f5508c46a56dc961": {
|
|
"describe": {
|
|
"columns": [],
|
|
"nullable": [],
|
|
"parameters": {
|
|
"Right": 11
|
|
}
|
|
},
|
|
"query": "\n INSERT INTO http_requests (\n id,\n workspace_id,\n name,\n url,\n method,\n body,\n body_type,\n authentication,\n authentication_type,\n headers,\n sort_priority\n )\n VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)\n ON CONFLICT (id) DO UPDATE SET\n updated_at = CURRENT_TIMESTAMP,\n name = excluded.name,\n method = excluded.method,\n headers = excluded.headers,\n body = excluded.body,\n body_type = excluded.body_type,\n authentication = excluded.authentication,\n authentication_type = excluded.authentication_type,\n url = excluded.url,\n sort_priority = excluded.sort_priority\n "
|
|
},
|
|
"c23c61b05a4c9e04ab0c1fc2c579d6f2a82a37aeed8addf9861b4985f2a5422e": {
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"name": "id",
|
|
"ordinal": 0,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "model",
|
|
"ordinal": 1,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "workspace_id",
|
|
"ordinal": 2,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "request_id",
|
|
"ordinal": 3,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "updated_at",
|
|
"ordinal": 4,
|
|
"type_info": "Datetime"
|
|
},
|
|
{
|
|
"name": "created_at",
|
|
"ordinal": 5,
|
|
"type_info": "Datetime"
|
|
},
|
|
{
|
|
"name": "url",
|
|
"ordinal": 6,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "status",
|
|
"ordinal": 7,
|
|
"type_info": "Int64"
|
|
},
|
|
{
|
|
"name": "status_reason",
|
|
"ordinal": 8,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "content_length",
|
|
"ordinal": 9,
|
|
"type_info": "Int64"
|
|
},
|
|
{
|
|
"name": "body",
|
|
"ordinal": 10,
|
|
"type_info": "Blob"
|
|
},
|
|
{
|
|
"name": "body_path",
|
|
"ordinal": 11,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "elapsed",
|
|
"ordinal": 12,
|
|
"type_info": "Int64"
|
|
},
|
|
{
|
|
"name": "error",
|
|
"ordinal": 13,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "headers!: sqlx::types::Json<Vec<HttpResponseHeader>>",
|
|
"ordinal": 14,
|
|
"type_info": "Text"
|
|
}
|
|
],
|
|
"nullable": [
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
true,
|
|
true,
|
|
true,
|
|
true,
|
|
false,
|
|
true,
|
|
false
|
|
],
|
|
"parameters": {
|
|
"Right": 1
|
|
}
|
|
},
|
|
"query": "\n SELECT id, model, workspace_id, request_id, updated_at, created_at, url,\n status, status_reason, content_length, body, body_path, elapsed, error,\n headers AS \"headers!: sqlx::types::Json<Vec<HttpResponseHeader>>\"\n FROM http_responses\n WHERE id = ?\n "
|
|
},
|
|
"caf3f21bf291dfbd36446592066e96c1f83abe96f6ea9211a3e049eb9c58a8c8": {
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"name": "id",
|
|
"ordinal": 0,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "model",
|
|
"ordinal": 1,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "created_at",
|
|
"ordinal": 2,
|
|
"type_info": "Datetime"
|
|
},
|
|
{
|
|
"name": "updated_at",
|
|
"ordinal": 3,
|
|
"type_info": "Datetime"
|
|
},
|
|
{
|
|
"name": "name",
|
|
"ordinal": 4,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "description",
|
|
"ordinal": 5,
|
|
"type_info": "Text"
|
|
}
|
|
],
|
|
"nullable": [
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false
|
|
],
|
|
"parameters": {
|
|
"Right": 1
|
|
}
|
|
},
|
|
"query": "\n SELECT id, model, created_at, updated_at, name, description\n FROM workspaces WHERE id = ?\n "
|
|
},
|
|
"cea4cae52f16ec78aca9a47b17117422d4f165e5a3b308c70fd1a180382475ea": {
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"name": "id",
|
|
"ordinal": 0,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "model",
|
|
"ordinal": 1,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "created_at",
|
|
"ordinal": 2,
|
|
"type_info": "Datetime"
|
|
},
|
|
{
|
|
"name": "updated_at",
|
|
"ordinal": 3,
|
|
"type_info": "Datetime"
|
|
},
|
|
{
|
|
"name": "name",
|
|
"ordinal": 4,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "description",
|
|
"ordinal": 5,
|
|
"type_info": "Text"
|
|
}
|
|
],
|
|
"nullable": [
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false
|
|
],
|
|
"parameters": {
|
|
"Right": 0
|
|
}
|
|
},
|
|
"query": "\n SELECT id, model, created_at, updated_at, name, description\n FROM workspaces\n "
|
|
},
|
|
"ced098adb79c0ee64e223b6e02371ef253920a2c342275de0fa9c181529a4adc": {
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"name": "id",
|
|
"ordinal": 0,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "model",
|
|
"ordinal": 1,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "workspace_id",
|
|
"ordinal": 2,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "created_at",
|
|
"ordinal": 3,
|
|
"type_info": "Datetime"
|
|
},
|
|
{
|
|
"name": "updated_at",
|
|
"ordinal": 4,
|
|
"type_info": "Datetime"
|
|
},
|
|
{
|
|
"name": "name",
|
|
"ordinal": 5,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "url",
|
|
"ordinal": 6,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "method",
|
|
"ordinal": 7,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "body",
|
|
"ordinal": 8,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "body_type",
|
|
"ordinal": 9,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "authentication!: Json<HashMap<String, JsonValue>>",
|
|
"ordinal": 10,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "authentication_type",
|
|
"ordinal": 11,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "sort_priority",
|
|
"ordinal": 12,
|
|
"type_info": "Float"
|
|
},
|
|
{
|
|
"name": "headers!: sqlx::types::Json<Vec<HttpRequestHeader>>",
|
|
"ordinal": 13,
|
|
"type_info": "Text"
|
|
}
|
|
],
|
|
"nullable": [
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
true,
|
|
true,
|
|
false,
|
|
true,
|
|
false,
|
|
false
|
|
],
|
|
"parameters": {
|
|
"Right": 1
|
|
}
|
|
},
|
|
"query": "\n SELECT\n id,\n model,\n workspace_id,\n created_at,\n updated_at,\n name,\n url,\n method,\n body,\n body_type,\n authentication AS \"authentication!: Json<HashMap<String, JsonValue>>\",\n authentication_type,\n sort_priority,\n headers AS \"headers!: sqlx::types::Json<Vec<HttpRequestHeader>>\"\n FROM http_requests\n WHERE id = ?\n "
|
|
},
|
|
"d80c09497771e3641022e73ec6c6a87e73a551f88a948a5445d754922b82b50b": {
|
|
"describe": {
|
|
"columns": [],
|
|
"nullable": [],
|
|
"parameters": {
|
|
"Right": 3
|
|
}
|
|
},
|
|
"query": "\n INSERT INTO key_values (namespace, key, value)\n VALUES (?, ?, ?) ON CONFLICT DO UPDATE SET\n updated_at = CURRENT_TIMESTAMP,\n value = excluded.value\n "
|
|
},
|
|
"e0f41023d877d94b7609ce910a71bd89c4827a558654b8ae14d85e6ba86990cf": {
|
|
"describe": {
|
|
"columns": [],
|
|
"nullable": [],
|
|
"parameters": {
|
|
"Right": 2
|
|
}
|
|
},
|
|
"query": "\n UPDATE workspaces SET (name, updated_at) =\n (?, CURRENT_TIMESTAMP) WHERE id = ?;\n "
|
|
},
|
|
"f116d8cf9aad828135bb8c3a4c8b8e6b857ae13303989e9133a33b2d1cf20e96": {
|
|
"describe": {
|
|
"columns": [],
|
|
"nullable": [],
|
|
"parameters": {
|
|
"Right": 3
|
|
}
|
|
},
|
|
"query": "\n INSERT INTO workspaces (id, name, description)\n VALUES (?, ?, ?)\n "
|
|
},
|
|
"fb89f653780b3f3ab0dd0bb2af30c8d3945203819cb9df7bdd331df56a6ae690": {
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"name": "id",
|
|
"ordinal": 0,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "model",
|
|
"ordinal": 1,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "workspace_id",
|
|
"ordinal": 2,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "created_at",
|
|
"ordinal": 3,
|
|
"type_info": "Datetime"
|
|
},
|
|
{
|
|
"name": "updated_at",
|
|
"ordinal": 4,
|
|
"type_info": "Datetime"
|
|
},
|
|
{
|
|
"name": "name",
|
|
"ordinal": 5,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "data!: Json<HashMap<String, JsonValue>>",
|
|
"ordinal": 6,
|
|
"type_info": "Text"
|
|
}
|
|
],
|
|
"nullable": [
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false
|
|
],
|
|
"parameters": {
|
|
"Right": 1
|
|
}
|
|
},
|
|
"query": "\n SELECT\n id,\n model,\n workspace_id,\n created_at,\n updated_at,\n name,\n data AS \"data!: Json<HashMap<String, JsonValue>>\"\n FROM environments\n WHERE id = ?\n "
|
|
}
|
|
} |