kopia lustrzana https://github.com/Stopka/fedicrawl
Software name forced to lower case
rodzic
ac27cdd03a
commit
5c0a032ed7
|
@ -0,0 +1,3 @@
|
||||||
|
update "Node"
|
||||||
|
set "softwareName"=lower("softwareName")
|
||||||
|
where true;
|
|
@ -7,7 +7,7 @@ export const updateNode = async (prisma: PrismaClient, node: Node, nodeInfo:Node
|
||||||
id: node.id
|
id: node.id
|
||||||
},
|
},
|
||||||
data: {
|
data: {
|
||||||
softwareName: nodeInfo.software.name,
|
softwareName: nodeInfo.software.name.toLocaleLowerCase(),
|
||||||
softwareVersion: nodeInfo.software.version,
|
softwareVersion: nodeInfo.software.version,
|
||||||
totalUserCount: nodeInfo.usage?.users?.total ?? null,
|
totalUserCount: nodeInfo.usage?.users?.total ?? null,
|
||||||
monthActiveUserCount: nodeInfo.usage?.users?.activeMonth ?? null,
|
monthActiveUserCount: nodeInfo.usage?.users?.activeMonth ?? null,
|
||||||
|
|
Ładowanie…
Reference in New Issue