This commit is contained in:
Luca P 2022-03-13 19:47:04 +00:00
parent 9e6339f729
commit ba92e2d417
2 changed files with 2 additions and 56 deletions

View file

@ -6,11 +6,11 @@ on:
# this specific branch (a.k.a. book chapter). # this specific branch (a.k.a. book chapter).
push: push:
branches: branches:
- root-chapter-10-part3 - root-chapter-11
pull_request: pull_request:
types: [ opened, synchronize, reopened ] types: [ opened, synchronize, reopened ]
branches: branches:
- root-chapter-10-part3 - root-chapter-11
env: env:
CARGO_TERM_COLOR: always CARGO_TERM_COLOR: always

View file

@ -1,19 +1,5 @@
{ {
"db": "PostgreSQL", "db": "PostgreSQL",
"0029b925e31429d25d23538804511943e2ea1fddc5a2db9a4e219c9b5be53fce": {
"query": "INSERT INTO users (user_id, username, password_hash)\n VALUES ($1, $2, $3)",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Uuid",
"Text",
"Text"
]
},
"nullable": []
}
},
"06f83a51e9d2ca842dc0d6947ad39d9be966636700de58d404d8e1471a260c9a": { "06f83a51e9d2ca842dc0d6947ad39d9be966636700de58d404d8e1471a260c9a": {
"query": "\n SELECT newsletter_issue_id, subscriber_email\n FROM issue_delivery_queue\n FOR UPDATE\n SKIP LOCKED\n LIMIT 1\n ", "query": "\n SELECT newsletter_issue_id, subscriber_email\n FROM issue_delivery_queue\n FOR UPDATE\n SKIP LOCKED\n LIMIT 1\n ",
"describe": { "describe": {
@ -198,36 +184,6 @@
"nullable": [] "nullable": []
} }
}, },
"9ab6536d2bf619381573b3bf13507d53b2e9cf50051e51c803e916f25b51abd2": {
"query": "SELECT email, name, status FROM subscriptions",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "email",
"type_info": "Text"
},
{
"ordinal": 1,
"name": "name",
"type_info": "Text"
},
{
"ordinal": 2,
"name": "status",
"type_info": "Text"
}
],
"parameters": {
"Left": []
},
"nullable": [
false,
false,
false
]
}
},
"9f103f7d6dfa569bafce4546e6e610f3d31b95fe81f96ea72575b27ddfea796e": { "9f103f7d6dfa569bafce4546e6e610f3d31b95fe81f96ea72575b27ddfea796e": {
"query": "\n SELECT \n response_status_code as \"response_status_code!\", \n response_headers as \"response_headers!: Vec<HeaderPairRecord>\",\n response_body as \"response_body!\"\n FROM idempotency\n WHERE \n user_id = $1 AND\n idempotency_key = $2\n ", "query": "\n SELECT \n response_status_code as \"response_status_code!\", \n response_headers as \"response_headers!: Vec<HeaderPairRecord>\",\n response_body as \"response_body!\"\n FROM idempotency\n WHERE \n user_id = $1 AND\n idempotency_key = $2\n ",
"describe": { "describe": {
@ -308,16 +264,6 @@
"nullable": [] "nullable": []
} }
}, },
"aa6ec2d18c8536eb8340bdf02a833440ff7954c503133ed99ebd6190822edf04": {
"query": "ALTER TABLE subscriptions DROP COLUMN email;",
"describe": {
"columns": [],
"parameters": {
"Left": []
},
"nullable": []
}
},
"acf1b96c82ddf18db02e71a0e297c822b46f10add52c54649cf599b883165e58": { "acf1b96c82ddf18db02e71a0e297c822b46f10add52c54649cf599b883165e58": {
"query": "\n SELECT user_id, password_hash\n FROM users\n WHERE username = $1\n ", "query": "\n SELECT user_id, password_hash\n FROM users\n WHERE username = $1\n ",
"describe": { "describe": {