mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-10 09:38:08 -06:00
First db migration (#297)
* store first db schema * md linting *screams*
This commit is contained in:
parent
09ef9e639e
commit
aee1932bd4
28 changed files with 1114 additions and 39 deletions
|
|
@ -0,0 +1,7 @@
|
|||
A note on when we should set data structures linked to objects in the database to use the
|
||||
bun `nullzero` tag -- this should only be done if the member type is a pointer, or if the
|
||||
this primitive type is literally invalid with an empty value (e.g. media IDs which when
|
||||
empty signifies a null database value, compared to say an account note which when empty
|
||||
could mean either an empty note OR null database value).
|
||||
|
||||
Obviously it is a little more complex than this in practice, but keep it in mind!
|
||||
Loading…
Add table
Add a link
Reference in a new issue