Add unique UniqueLocalMessageCreate
This commit is contained in:
parent
2eade80cfb
commit
e848fe5fed
2 changed files with 3 additions and 0 deletions
|
@ -332,6 +332,7 @@ LocalMessage
|
|||
unlinkedParent FedURI Maybe
|
||||
|
||||
UniqueLocalMessage rest
|
||||
UniqueLocalMessageCreate create
|
||||
|
||||
RemoteMessage
|
||||
author RemoteActorId
|
||||
|
|
|
@ -472,6 +472,8 @@ changes hLocal ctx =
|
|||
)
|
||||
"create"
|
||||
"OutboxItem"
|
||||
-- 78
|
||||
, addUnique "LocalMessage" $ Unique "UniqueLocalMessageCreate" ["create"]
|
||||
]
|
||||
|
||||
migrateDB :: MonadIO m => Text -> HashidsContext -> ReaderT SqlBackend m (Either Text (Int, Int))
|
||||
|
|
Loading…
Reference in a new issue