{"size": 2769, "ext": "js", "max_stars_repo_path": "seeds/assignments.js", "max_stars_repo_name": "piasoy/basic-express-with-knex", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "seeds/assignments.js", "max_issues_repo_name": "piasoy/basic-express-with-knex", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "seeds/assignments.js", "max_forks_repo_name": "piasoy/basic-express-with-knex", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 24.9459459459, "max_line_length": 43, "alphanum_fraction": 0.4687612857}

exports.seed = function(knex) {
  // Deletes ALL existing entries
  return knex('Assignments').del()
    .then(function () {
      // Inserts seed entries
      return knex('Assignments').insert([
        { assignment_name: 'Intro to HTML',
          isComplete: true,
          studentId: 1,
          cohortId: 1
        },
        { assignment_name: 'Intro to HTML',
          isComplete: true,
          studentId: 2,
          cohortId: 1
        },
        { assignment_name: 'Intro to HTML',
          isComplete: true,
          studentId: 3,
          cohortId: 1
        },
        { assignment_name: 'Intro to HTML',
          isComplete: true,
          studentId: 4,
          cohortId: 2
        },
        { assignment_name: 'Intro to CSS',
          isComplete: true,
          studentId: 1,
          cohortId: 1
        },
        { assignment_name: 'Intro to CSS',
          isComplete: true,
          studentId: 2,
          cohortId: 1
        },
        { assignment_name: 'Intro to CSS',
        isComplete: true,
        studentId: 3,
        cohortId: 1
        },
        { assignment_name: 'Intro to CSS',
          isComplete: true,
          studentId: 4,
          cohortId: 4
        },
        { assignment_name: 'Intro to JS',
          isComplete: true,
          studentId: 1,
          cohortId: 1
        },
        { assignment_name: 'Intro to JS',
          isComplete: true,
          studentId: 2,
          cohortId: 1
        },
        { assignment_name: 'Intro to JS',
          isComplete: false,
          studentId: 3,
          cohortId: 1
        },
        { assignment_name: 'Intro to JS',
          isComplete: true,
          studentId: 4,
          cohortId: 2
        },
        { assignment_name: 'Intro to Node',
        isComplete: true,
        studentId: 1,
        cohortId: 1
        },
        { assignment_name: 'Intro to Node',
          isComplete: true,
          studentId: 2,
          cohortId: 1
        },
        { assignment_name: 'Intro to Node',
        isComplete: false,
        studentId: 3,
        cohortId: 1
        },
        { assignment_name: 'Intro to Node',
          isComplete: true,
          studentId: 4,
          cohortId: 2
        },
        { assignment_name: 'Intro to SQL',
          isComplete: false,
          studentId: 1,
          cohortId: 1
        },
        { assignment_name: 'Intro to SQL',
          isComplete: false,
          studentId: 2,
          cohortId: 1
        },
        { assignment_name: 'Intro to SQL',
          isComplete: false,
          studentId: 3,
          cohortId: 1
        },
        { assignment_name: 'Intro to SQL',
          isComplete: true,
          studentId: 4,
          cohortId: 2
        }
      ]);
    });
};
