1
0
Fork 0
mirror of https://code.sup39.dev/repos/Wqawg synced 2024-12-27 19:24:52 +09:00

Update data model to reflect recent decisions

This commit is contained in:
fr33domlover 2016-02-11 09:36:24 +00:00
parent 2b15a16115
commit 5734e720ad

View file

@ -39,28 +39,47 @@ share [mkPersist sqlSettings, mkMigrate "migrateAll"] [persistLowerCase|
IrcChannel
network Text
name Text
User
Sharer
ident Text --CI
name Text Maybe
UniqueIdent ident
Person
ident SharerId
hash Text Maybe
name Text Maybe
email Text Maybe
UniquePersonIdent ident
Group
ident Text --CI
name Text Maybe
Repo
name Text --CI
irc IrcChannelId Maybe
ml Text Maybe
ident SharerId
UniqueGroupIdent ident
Project
ident Text --CI
sharer SharerId
name Text Maybe
desc Text Maybe
UserInGroup
user UserId
UniqueProject ident sharer
Repo
name Text --CI
project ProjectId
irc IrcChannelId Maybe
ml Text Maybe
UniqueRepo name project
PersonInGroup
person PersonId
group GroupId
RepoInProject
repo RepoId
project ProjectId
UniquePersonInGroup person group
|]
--mainViewQuery = --TODO