{"size": 466, "ext": "js", "max_stars_repo_path": "server/migrations/20190221161926_abouts.js", "max_stars_repo_name": "Baloo1/dat076", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "server/migrations/20190221161926_abouts.js", "max_issues_repo_name": "Baloo1/dat076", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "server/migrations/20190221161926_abouts.js", "max_forks_repo_name": "Baloo1/dat076", "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": 25.8888888889, "max_line_length": 85, "alphanum_fraction": 0.5643776824}

exports.up = function(knex, Promise) {
    return Promise.all([
        knex.schema.createTable('abouts', table => {
            table.increments('id').primary();
            table.integer('user_id').references('id').inTable('users').notNullable();
            table.string('title');
            table.string('description');
        })
    ]);
};

exports.down = function(knex, Promise) {
    return Promise.all([
        knex.schema.dropTable('abouts')
    ]);
};
