poeti8 6 rokov pred
rodič
commit
e129db2d78
1 zmenil súbory, kde vykonal 3 pridanie a 6 odobranie
  1. 3 6
      scripts/migration.ts

+ 3 - 6
scripts/migration.ts

@@ -6,7 +6,7 @@
 // 2. [MONGODB] Create Hosts
 
 // USERS
-// 1. [NEO4J] Get all user
+// 1. [NEO4J] Get all users
 // 2. [MONGODB] Upsert users
 // 3. [MONGODB] Update bannedBy
 
@@ -14,17 +14,14 @@
 // 1. [NEO4J] Get all domains as stream
 // 2. [MONGODB] If domain has user, get user
 // 3. [MONGODB] Upsert domain
-// 4. [MONGODB] Update user
+// 4. [MONGODB] Update user to set domain
 
 // LINKS
 // 1. [NEO4J] Get all links as stream
 // 2. [MONGODB] If link has user and domain, get them
 // 3. [MONGODB] Upsert link
-// 4. [MONGODB] Update user
-// 5. [MONGODB] Update domain
 
 // VISISTS
 // 1. [NEO4J] For every link get visists as stream
 // 2. [JAVaSCRIPT] Sum stats for each visist with the same date
-// 3. [MONGODB] Create visits
-// 4. [MONGODB] Update link
+// 3. [MONGODB] Create visits