mirror of
https://code.sup39.dev/repos/Wqawg
synced 2024-12-28 12:24:51 +09:00
Update data model to reflect recent decisions
This commit is contained in:
parent
2b15a16115
commit
5734e720ad
1 changed files with 36 additions and 17 deletions
|
@ -39,28 +39,47 @@ share [mkPersist sqlSettings, mkMigrate "migrateAll"] [persistLowerCase|
|
||||||
IrcChannel
|
IrcChannel
|
||||||
network Text
|
network Text
|
||||||
name Text
|
name Text
|
||||||
User
|
|
||||||
|
Sharer
|
||||||
ident Text --CI
|
ident Text --CI
|
||||||
|
name Text Maybe
|
||||||
|
|
||||||
|
UniqueIdent ident
|
||||||
|
|
||||||
|
Person
|
||||||
|
ident SharerId
|
||||||
hash Text Maybe
|
hash Text Maybe
|
||||||
name Text Maybe
|
|
||||||
email Text Maybe
|
email Text Maybe
|
||||||
|
|
||||||
|
UniquePersonIdent ident
|
||||||
|
|
||||||
Group
|
Group
|
||||||
ident Text --CI
|
ident SharerId
|
||||||
name Text Maybe
|
|
||||||
Repo
|
UniqueGroupIdent ident
|
||||||
name Text --CI
|
|
||||||
irc IrcChannelId Maybe
|
|
||||||
ml Text Maybe
|
|
||||||
Project
|
Project
|
||||||
ident Text --CI
|
ident Text --CI
|
||||||
|
sharer SharerId
|
||||||
name Text Maybe
|
name Text Maybe
|
||||||
desc Text Maybe
|
desc Text Maybe
|
||||||
|
|
||||||
UserInGroup
|
UniqueProject ident sharer
|
||||||
user UserId
|
|
||||||
|
Repo
|
||||||
|
name Text --CI
|
||||||
|
project ProjectId
|
||||||
|
irc IrcChannelId Maybe
|
||||||
|
ml Text Maybe
|
||||||
|
|
||||||
|
UniqueRepo name project
|
||||||
|
|
||||||
|
PersonInGroup
|
||||||
|
person PersonId
|
||||||
group GroupId
|
group GroupId
|
||||||
|
|
||||||
RepoInProject
|
UniquePersonInGroup person group
|
||||||
repo RepoId
|
|
||||||
project ProjectId
|
|
||||||
|]
|
|]
|
||||||
|
|
||||||
|
--mainViewQuery = --TODO
|
||||||
|
|
Loading…
Reference in a new issue