projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
729c0f4
)
Don't add the unique preferredUsername index for now
author
Chocobozzz
<me@florianbigard.com>
Thu, 12 Dec 2019 09:24:08 +0000
(10:24 +0100)
committer
Chocobozzz
<me@florianbigard.com>
Thu, 12 Dec 2019 09:56:34 +0000
(10:56 +0100)
We'll do it in the next release so admins can prepare it
server/models/activitypub/actor.ts
patch
|
blob
|
history
diff --git
a/server/models/activitypub/actor.ts
b/server/models/activitypub/actor.ts
index e539b579cc60d65c96996272263c4f51ccbd85e7..71db44b2f8948163c46e45241f61dac6b806c8fc 100644
(file)
--- a/
server/models/activitypub/actor.ts
+++ b/
server/models/activitypub/actor.ts
@@
-122,13
+122,13
@@
export const unusedActorAttributesForAPI = [
}
}
},
- {
- fields: [ 'preferredUsername' ],
- unique: true,
- where: {
- serverId: null
- }
- },
+
//
{
+
//
fields: [ 'preferredUsername' ],
+
//
unique: true,
+
//
where: {
+
//
serverId: null
+
//
}
+
//
},
{
fields: [ 'inboxUrl', 'sharedInboxUrl' ]
},