Make add a postmaster user and check for its existence on
This commit is contained in:
25
DESIGN.md
25
DESIGN.md
@@ -25,16 +25,15 @@ We need:
|
||||
|
||||
## Database structure
|
||||
|
||||
```
|
||||
config/
|
||||
domain: "example.com"
|
||||
domains/
|
||||
example.com/
|
||||
accounts/
|
||||
foo@example.com/
|
||||
config/
|
||||
emails/
|
||||
config/
|
||||
key: []byte(...)
|
||||
cert: []byte(...)
|
||||
```
|
||||
I'm not sure what storm does under the hood. It seems clever. We have the
|
||||
following, though:
|
||||
|
||||
* K-V store
|
||||
* `config/domain`
|
||||
* `domains/<domain>/config/cert`
|
||||
* `domains/<domain>/config/key`
|
||||
* ORM
|
||||
* `Account`
|
||||
* `Username`
|
||||
* `Admin`
|
||||
* `PasswordHash`
|
||||
|
Reference in New Issue
Block a user