"``update teacher and student seed scripts to dynamically loop through row_array and um_row_array instead of fixed iterations
``"
This commit is contained in:
@@ -28,7 +28,7 @@ module.exports = ($app) => {
|
|||||||
let users_collection = $app.findCollectionByNameOrId("users");
|
let users_collection = $app.findCollectionByNameOrId("users");
|
||||||
let user_metas_collection = $app.findCollectionByNameOrId("UserMetas");
|
let user_metas_collection = $app.findCollectionByNameOrId("UserMetas");
|
||||||
|
|
||||||
for (let i = 0; i < 1; i++) {
|
for (let i = 0; i < row_array.length; i++) {
|
||||||
let user = row_array[i];
|
let user = row_array[i];
|
||||||
let um = um_row_array[i];
|
let um = um_row_array[i];
|
||||||
|
|
||||||
|
@@ -32,7 +32,7 @@ module.exports = ($app) => {
|
|||||||
let users_collection = $app.findCollectionByNameOrId("users");
|
let users_collection = $app.findCollectionByNameOrId("users");
|
||||||
let user_metas_collection = $app.findCollectionByNameOrId("UserMetas");
|
let user_metas_collection = $app.findCollectionByNameOrId("UserMetas");
|
||||||
|
|
||||||
for (let i = 0; i < 1; i++) {
|
for (let i = 0; i < row_array.length; i++) {
|
||||||
let user = row_array[i];
|
let user = row_array[i];
|
||||||
let um = um_row_array[i];
|
let um = um_row_array[i];
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user