summaryrefslogtreecommitdiffstats
path: root/next_thoughts.txt
blob: 0e89249a28e47377718762df708b6c9de0e60128 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Should probably just UUID all the (public) ids.

Instead of having a separate id pointer table, could have an extra "mutable"
public ID column (unique, indexed) on entity rows. Backend would ensure the
right thing happens. Changelog tables (or special redirect/deletion tables)
would record changes and be "fallen through" to.

Instead of having merge redirects, could just point all identifiers to the same
revision (and update them all in the future). Don't need to recurse! Need to
keep this forever though, could scale badly if "aggregations" get merged.

Redirections of redirections should probably simply be disallowed.

"Deletion" is really just pointing to a special or null entity.

Trade-off: easy querying for common case (wanting "active" rows) vs. robust
handling of redirects (likely to be pretty common). Also, having UUID handling
across more than one table.