Rename project field in Project Role assignment tables, it had the wrong name
This commit is contained in:
parent
4875f0b9f7
commit
da6d8c008e
2 changed files with 12 additions and 8 deletions
|
@ -1,6 +1,6 @@
|
|||
-- This file is part of Vervis.
|
||||
--
|
||||
-- Written in 2016, 2018 by fr33domlover <fr33domlover@riseup.net>.
|
||||
-- Written in 2016, 2018, 2019 by fr33domlover <fr33domlover@riseup.net>.
|
||||
--
|
||||
-- ♡ Copying is an act of love. Please copy, reuse and share.
|
||||
--
|
||||
|
@ -124,16 +124,16 @@ ProjectCollab
|
|||
UniqueProjectCollab project person
|
||||
|
||||
ProjectCollabAnon
|
||||
repo ProjectId
|
||||
role ProjectRoleId
|
||||
project ProjectId
|
||||
role ProjectRoleId
|
||||
|
||||
UniqueProjectCollabAnon repo
|
||||
UniqueProjectCollabAnon project
|
||||
|
||||
ProjectCollabUser
|
||||
repo ProjectId
|
||||
role ProjectRoleId
|
||||
project ProjectId
|
||||
role ProjectRoleId
|
||||
|
||||
UniqueProjectCollabUser repo
|
||||
UniqueProjectCollabUser project
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
-- Projects
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{- This file is part of Vervis.
|
||||
-
|
||||
- Written in 2016, 2018 by fr33domlover <fr33domlover@riseup.net>.
|
||||
- Written in 2016, 2018, 2019 by fr33domlover <fr33domlover@riseup.net>.
|
||||
-
|
||||
- ♡ Copying is an act of love. Please copy, reuse and share.
|
||||
-
|
||||
|
@ -128,6 +128,10 @@ changes =
|
|||
, addFieldPrimRequired "Person" defaultTime "resetPassKeyCreated"
|
||||
-- 22
|
||||
, addUnique "Person" $ Unique "UniquePersonEmail" ["email"]
|
||||
-- 23
|
||||
, renameField "ProjectCollabAnon" "repo" "project"
|
||||
-- 24
|
||||
, renameField "ProjectCollabUser" "repo" "project"
|
||||
]
|
||||
|
||||
migrateDB :: MonadIO m => ReaderT SqlBackend m (Either Text (Int, Int))
|
||||
|
|
Loading…
Reference in a new issue