{"size": 572, "ext": "js", "max_stars_repo_path": "database/migrations/20181109153706_create_job_table.js", "max_stars_repo_name": "AyumiizZ/SoftengProject", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "database/migrations/20181109153706_create_job_table.js", "max_issues_repo_name": "AyumiizZ/SoftengProject", "max_issues_repo_issues_event_min_datetime": "2018-11-14T14:42:52.000Z", "max_issues_repo_issues_event_max_datetime": "2019-06-17T01:25:27.000Z", "max_forks_repo_path": "database/migrations/20181109153706_create_job_table.js", "max_forks_repo_name": "AyumiizZ/SoftengProject", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 22, "max_forks_count": null, "avg_line_length": 27.2380952381, "max_line_length": 61, "alphanum_fraction": 0.6153846154}
exports.up = function(knex, Promise) {
  return Promise.all([
    knex.schema.createTable("jobs", table => {
      table.increments("id").primary();
      table.string("job");
      table.string("job_info");
      table.timestamp("created_at").defaultTo(knex.fn.now());
      table.boolean("done").defaultTo(false);
      table.integer("client_id");
      table.integer("user_id");
      table.string("job_type");
      table.string("tag");
      table.integer("price");
    })
  ]);
};

exports.down = function(knex, Promise) {
  return knex.schema.dropTable("jobs");
};
