{"size": 454, "ext": "js", "max_stars_repo_path": "data/migrations/20200128220906_initial.js", "max_stars_repo_name": "BuildWeek-Gigapet1-2020/backend", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "data/migrations/20200128220906_initial.js", "max_issues_repo_name": "BuildWeek-Gigapet1-2020/backend", "max_issues_repo_issues_event_min_datetime": "2021-05-11T02:44:20.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-26T23:27:49.000Z", "max_forks_repo_path": "data/migrations/20200128220906_initial.js", "max_forks_repo_name": "raythurman2386/gigapet-backend", "max_forks_repo_forks_event_min_datetime": "2020-02-03T21:20:27.000Z", "max_forks_repo_forks_event_max_datetime": "2020-02-06T06:05:31.000Z"}
{"max_stars_count": null, "max_issues_count": 5, "max_forks_count": 2, "avg_line_length": 22.7, "max_line_length": 51, "alphanum_fraction": 0.6167400881}
exports.up = async function(knex) {
  await knex.schema.createTable('parents', tbl => {
    tbl.increments('id')
    tbl.string('parent_name', 128).notNullable()
    tbl
      .string('username', 128)
      .unique()
      .notNullable()
    tbl.string('password', 128).notNullable()
    tbl
      .string('email', 128)
      .unique()
      .notNullable()
  })
}

exports.down = async function(knex) {
  await knex.schema.dropTableIfExists('parents')
}
