This commit is contained in:
parent
bfbcda5304
commit
350a779f9c
2 changed files with 128 additions and 132 deletions
|
@ -1,6 +1,2 @@
|
|||
[build]
|
||||
rustflags = ["--cfg", "uuid_unstable"]
|
||||
|
||||
[target.x86_64-unknown-linux-gnu]
|
||||
linker = "clang"
|
||||
rustflags = ["-Clink-arg=-fuse-ld=mold", "--cfg", "uuid_unstable"]
|
||||
rustflags = ["--cfg", "uuid_unstable"]
|
254
sqlx-data.json
254
sqlx-data.json
|
@ -133,6 +133,104 @@
|
|||
},
|
||||
"query": "SELECT id, slug, name, parent FROM collections WHERE site = $1"
|
||||
},
|
||||
"340503adadca3968e84a6c33fcc15433018aa8171218feae413002c1927de359": {
|
||||
"describe": {
|
||||
"columns": [
|
||||
{
|
||||
"name": "session_id",
|
||||
"ordinal": 0,
|
||||
"type_info": "Uuid"
|
||||
},
|
||||
{
|
||||
"name": "session_actor",
|
||||
"ordinal": 1,
|
||||
"type_info": "Uuid"
|
||||
},
|
||||
{
|
||||
"name": "secret",
|
||||
"ordinal": 2,
|
||||
"type_info": "Varchar"
|
||||
},
|
||||
{
|
||||
"name": "session_created_at",
|
||||
"ordinal": 3,
|
||||
"type_info": "Timestamp"
|
||||
},
|
||||
{
|
||||
"name": "expires_at",
|
||||
"ordinal": 4,
|
||||
"type_info": "Timestamp"
|
||||
},
|
||||
{
|
||||
"name": "user_id",
|
||||
"ordinal": 5,
|
||||
"type_info": "Uuid"
|
||||
},
|
||||
{
|
||||
"name": "name",
|
||||
"ordinal": 6,
|
||||
"type_info": "Varchar"
|
||||
},
|
||||
{
|
||||
"name": "email",
|
||||
"ordinal": 7,
|
||||
"type_info": "Varchar"
|
||||
},
|
||||
{
|
||||
"name": "display_name",
|
||||
"ordinal": 8,
|
||||
"type_info": "Varchar"
|
||||
},
|
||||
{
|
||||
"name": "bio",
|
||||
"ordinal": 9,
|
||||
"type_info": "Text"
|
||||
},
|
||||
{
|
||||
"name": "roles",
|
||||
"ordinal": 10,
|
||||
"type_info": "UuidArray"
|
||||
},
|
||||
{
|
||||
"name": "user_created_at",
|
||||
"ordinal": 11,
|
||||
"type_info": "Timestamp"
|
||||
},
|
||||
{
|
||||
"name": "modified_at",
|
||||
"ordinal": 12,
|
||||
"type_info": "Timestamp"
|
||||
},
|
||||
{
|
||||
"name": "deleted_at",
|
||||
"ordinal": 13,
|
||||
"type_info": "Timestamp"
|
||||
}
|
||||
],
|
||||
"nullable": [
|
||||
false,
|
||||
false,
|
||||
false,
|
||||
false,
|
||||
false,
|
||||
false,
|
||||
false,
|
||||
true,
|
||||
true,
|
||||
true,
|
||||
false,
|
||||
false,
|
||||
true,
|
||||
true
|
||||
],
|
||||
"parameters": {
|
||||
"Left": [
|
||||
"Uuid"
|
||||
]
|
||||
}
|
||||
},
|
||||
"query": "SELECT\n\t\t\tsessions.id AS session_id,\n\t\t\tsessions.actor AS session_actor,\n\t\t\tsessions.secret,\n\t\t\tsessions.created_at AS session_created_at,\n\t\t\tsessions.expires_at,\n\t\t\tusers.id AS user_id,\n\t\t\tusers.name,\n\t\t\tusers.email,\n\t\t\tusers.display_name,\n\t\t\tusers.bio,\n\t\t\tusers.roles,\n\t\t\tusers.created_at AS user_created_at,\n\t\t\tusers.modified_at,\n\t\t\tusers.deleted_at\n\t\t FROM\n\t\t\tsessions\n\t\t JOIN\n\t\t\tusers ON sessions.actor = users.id\n\t\t WHERE\n\t\t\tsessions.id = $1"
|
||||
},
|
||||
"35deaad55b84124dcba02c555718fe815003e3f50b1c8ee2fc7e540009fa5aef": {
|
||||
"describe": {
|
||||
"columns": [
|
||||
|
@ -314,35 +412,6 @@
|
|||
},
|
||||
"query": "DELETE FROM pages WHERE author = $1 AND site = $2 AND slug = $3"
|
||||
},
|
||||
"82450bdd6a4a7ac9ee66fb98fd87993b70fa58577876b0761ceac9e31af27b8a": {
|
||||
"describe": {
|
||||
"columns": [
|
||||
{
|
||||
"name": "id",
|
||||
"ordinal": 0,
|
||||
"type_info": "Uuid"
|
||||
},
|
||||
{
|
||||
"name": "created_at",
|
||||
"ordinal": 1,
|
||||
"type_info": "Timestamp"
|
||||
}
|
||||
],
|
||||
"nullable": [
|
||||
false,
|
||||
false
|
||||
],
|
||||
"parameters": {
|
||||
"Left": [
|
||||
"Uuid",
|
||||
"Varchar",
|
||||
"Varchar",
|
||||
"UuidArray"
|
||||
]
|
||||
}
|
||||
},
|
||||
"query": "INSERT INTO users ( id, name, password, roles )\n VALUES ( $1,$2,$3,$4 ) RETURNING id, created_at"
|
||||
},
|
||||
"8c2ad67b10d926e72efdcf63140c6cc34790aca9a90b52f555e745bbb30faffa": {
|
||||
"describe": {
|
||||
"columns": [
|
||||
|
@ -390,6 +459,35 @@
|
|||
},
|
||||
"query": "UPDATE sessions SET expires_at = $1 WHERE id = $2 RETURNING id"
|
||||
},
|
||||
"ab76708bdd8ae46dbab771ef5da6489450fa92c0fcb16df8f393091b108ea2b2": {
|
||||
"describe": {
|
||||
"columns": [
|
||||
{
|
||||
"name": "id",
|
||||
"ordinal": 0,
|
||||
"type_info": "Uuid"
|
||||
},
|
||||
{
|
||||
"name": "created_at",
|
||||
"ordinal": 1,
|
||||
"type_info": "Timestamp"
|
||||
}
|
||||
],
|
||||
"nullable": [
|
||||
false,
|
||||
false
|
||||
],
|
||||
"parameters": {
|
||||
"Left": [
|
||||
"Uuid",
|
||||
"Varchar",
|
||||
"Varchar",
|
||||
"UuidArray"
|
||||
]
|
||||
}
|
||||
},
|
||||
"query": "INSERT INTO users ( id, name, password, roles )\n\t\t VALUES ( $1,$2,$3,$4 ) RETURNING id, created_at"
|
||||
},
|
||||
"b85aa5820a73028398878a86ed550ea42daa362a8b0124f9ed626769a22bc047": {
|
||||
"describe": {
|
||||
"columns": [],
|
||||
|
@ -403,104 +501,6 @@
|
|||
},
|
||||
"query": "UPDATE sites\n SET default_collection = $1\n WHERE id = $2"
|
||||
},
|
||||
"c567d96c92638902bc90f5fc0aa5bbbe0b6d26607767720a87fdbe67335a0180": {
|
||||
"describe": {
|
||||
"columns": [
|
||||
{
|
||||
"name": "session_id",
|
||||
"ordinal": 0,
|
||||
"type_info": "Uuid"
|
||||
},
|
||||
{
|
||||
"name": "session_actor",
|
||||
"ordinal": 1,
|
||||
"type_info": "Uuid"
|
||||
},
|
||||
{
|
||||
"name": "secret",
|
||||
"ordinal": 2,
|
||||
"type_info": "Varchar"
|
||||
},
|
||||
{
|
||||
"name": "session_created_at",
|
||||
"ordinal": 3,
|
||||
"type_info": "Timestamp"
|
||||
},
|
||||
{
|
||||
"name": "expires_at",
|
||||
"ordinal": 4,
|
||||
"type_info": "Timestamp"
|
||||
},
|
||||
{
|
||||
"name": "user_id",
|
||||
"ordinal": 5,
|
||||
"type_info": "Uuid"
|
||||
},
|
||||
{
|
||||
"name": "name",
|
||||
"ordinal": 6,
|
||||
"type_info": "Varchar"
|
||||
},
|
||||
{
|
||||
"name": "email",
|
||||
"ordinal": 7,
|
||||
"type_info": "Varchar"
|
||||
},
|
||||
{
|
||||
"name": "display_name",
|
||||
"ordinal": 8,
|
||||
"type_info": "Varchar"
|
||||
},
|
||||
{
|
||||
"name": "bio",
|
||||
"ordinal": 9,
|
||||
"type_info": "Text"
|
||||
},
|
||||
{
|
||||
"name": "roles",
|
||||
"ordinal": 10,
|
||||
"type_info": "UuidArray"
|
||||
},
|
||||
{
|
||||
"name": "user_created_at",
|
||||
"ordinal": 11,
|
||||
"type_info": "Timestamp"
|
||||
},
|
||||
{
|
||||
"name": "modified_at",
|
||||
"ordinal": 12,
|
||||
"type_info": "Timestamp"
|
||||
},
|
||||
{
|
||||
"name": "deleted_at",
|
||||
"ordinal": 13,
|
||||
"type_info": "Timestamp"
|
||||
}
|
||||
],
|
||||
"nullable": [
|
||||
false,
|
||||
false,
|
||||
false,
|
||||
false,
|
||||
false,
|
||||
false,
|
||||
false,
|
||||
true,
|
||||
true,
|
||||
true,
|
||||
false,
|
||||
false,
|
||||
true,
|
||||
true
|
||||
],
|
||||
"parameters": {
|
||||
"Left": [
|
||||
"Uuid"
|
||||
]
|
||||
}
|
||||
},
|
||||
"query": "SELECT\n sessions.id AS session_id,\n sessions.actor AS session_actor,\n sessions.secret,\n sessions.created_at AS session_created_at,\n sessions.expires_at,\n users.id AS user_id,\n users.name,\n users.email,\n users.display_name,\n users.bio,\n users.roles,\n users.created_at AS user_created_at,\n users.modified_at,\n users.deleted_at\n FROM\n sessions\n JOIN\n users ON sessions.actor = users.id\n WHERE\n sessions.id = $1"
|
||||
},
|
||||
"cb17620d355a66a591cfae86e63dc293664a85777b39d7d19f2493a7388ecaf6": {
|
||||
"describe": {
|
||||
"columns": [
|
||||
|
|
Loading…
Reference in a new issue