Moves from : to / for the d-tag to avoid misunderstandings when using a references

This commit is contained in:
Vitor Pamplona 2024-04-09 18:27:44 -04:00
parent 360cc3cce2
commit 726749bd67

6
41.md
View File

@ -18,11 +18,11 @@ Values can be public or [NIP-44](44.md) encrypted to the user and placed in the
{ {
"kind": 31200, "kind": 31200,
"tags": [ "tags": [
["d", "<database-name:table-name:row-primary-key>"], ["d", "<database-name/table-name/row-primary-key>"],
["n", "<database-name:table-name>"], ["n", "<database-name/table-name>"],
["u", "<database-name>"], ["u", "<database-name>"],
["<column-name>", "<column-row-value>"], ["<column-name>", "<column-row-value>"],
["<foreign-key-column-name or single-letter-alias>", "<database-name:table-name:column-row-value>"] ["<foreign-key-column-name or single-letter-alias>", "31200:<pubkey>:<database-name/table-name/column-row-value>"]
// other public columns // other public columns
], ],
"content": nip44Encrypt(JSON.stringify(( "content": nip44Encrypt(JSON.stringify((