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
|
unlinkedParent FedURI Maybe
|
||||||
|
|
||||||
UniqueLocalMessage rest
|
UniqueLocalMessage rest
|
||||||
|
UniqueLocalMessageCreate create
|
||||||
|
|
||||||
RemoteMessage
|
RemoteMessage
|
||||||
author RemoteActorId
|
author RemoteActorId
|
||||||
|
|
|
@ -472,6 +472,8 @@ changes hLocal ctx =
|
||||||
)
|
)
|
||||||
"create"
|
"create"
|
||||||
"OutboxItem"
|
"OutboxItem"
|
||||||
|
-- 78
|
||||||
|
, addUnique "LocalMessage" $ Unique "UniqueLocalMessageCreate" ["create"]
|
||||||
]
|
]
|
||||||
|
|
||||||
migrateDB :: MonadIO m => Text -> HashidsContext -> ReaderT SqlBackend m (Either Text (Int, Int))
|
migrateDB :: MonadIO m => Text -> HashidsContext -> ReaderT SqlBackend m (Either Text (Int, Int))
|
||||||
|
|
Loading…
Reference in a new issue