opral / lix-sdk

1 stars 0 forks source link

multi author support #56

Open samuelstroschein opened 2 weeks ago

samuelstroschein commented 2 weeks ago

Context

Changes, commits, etc. can be authored by multiple people/bots.

Task

SQL join tables or JSON array?

type Change = {
  authors: string[]
}
type Change = {
  authors: "20j3sa2" // @relation ChangeAuthors
}

Pro for SQL join tables

Pro for JSON array