[10] Create schema files for e2ee tables #34
No reviewers
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
qa
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
main/bromal!34
Loading…
Reference in a new issue
No description provided.
Delete branch "serra/e2ee"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
PR in support of issue #10
Implementing schema files for e2ee tables, with some modifications related to adding a
senderfield to theDeviceMessageschema.Also some tweaks to the migration file after a couple of realizations.
Some small nitpicks, else seems to be ok according to the visual review.
@ -0,0 +24,4 @@alias Bromal.Types@primary_key falseI would remove empty line here to make attribute to be closer to schema definition.
@ -0,0 +26,4 @@@primary_key falseschema "cross_signing_keys" dofield :user_id, Types.Ecto.UserId, writable: :insert, writable: :insertwritable: :insertis defined twice. I think, there should be only once.@ -0,0 +26,4 @@@primary_key {:id, :binary_id, autogenerate: true}@foreign_key_type :binary_idI would remove empty line here to make attributes to be closer to schema definition.
@ -0,0 +25,4 @@@primary_key {:id, :binary_id, autogenerate: true}@foreign_key_type :binary_idI would remove empty line here to make attributes to be closer to schema definition.
Changes made!
Gonna go ahead and merge into the feature branch