Extract keys to their own table, match keyID #816
1 changed files with 0 additions and 2 deletions
|
@ -9,7 +9,5 @@ def change do
|
||||||
add :private_key, :text
|
add :private_key, :text
|
||||||
|
|||||||
timestamps()
|
timestamps()
|
||||||
end
|
end
|
||||||
|
|
||||||
create unique_index(:signing_keys, [:key_id])
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
floatingghost marked this conversation as resolved
Outdated
Oneric
commented
`key_id` already is the primary key; manually creating an index here just duplicates the already existing unique primary key index
|
|||||||
|
|
Loading…
Reference in a new issue
Might
:binary
be more efficient to not have to reparse the text representation each time we actually verify/sign something? On the other hand, for local users, serving the text representation via AP fetches might be more common than actually using the key...