{"size": 317, "ext": "js", "max_stars_repo_path": "migrations/20161130122656_user_beep_preference.js", "max_stars_repo_name": "slco-2016/clientcomm", "max_stars_repo_stars_event_min_datetime": "2016-06-15T20:06:01.000Z", "max_stars_repo_stars_event_max_datetime": "2018-03-21T02:38:19.000Z", "max_issues_repo_path": "migrations/20161130122656_user_beep_preference.js", "max_issues_repo_name": "slco-2016/clientcomm", "max_issues_repo_issues_event_min_datetime": "2016-03-24T17:19:51.000Z", "max_issues_repo_issues_event_max_datetime": "2017-07-25T23:38:53.000Z", "max_forks_repo_path": "migrations/20161130122656_user_beep_preference.js", "max_forks_repo_name": "slco-2016/ch-courtsms", "max_forks_repo_forks_event_min_datetime": "2016-04-07T20:17:34.000Z", "max_forks_repo_forks_event_max_datetime": "2018-04-09T01:15:49.000Z"}
{"max_stars_count": 9, "max_issues_count": 379, "max_forks_count": 6, "avg_line_length": 21.1333333333, "max_line_length": 66, "alphanum_fraction": 0.6214511041}

exports.up = function (knex, Promise) {
  return Promise.all([
    knex.schema.table('cms', (table) => {
      table.boolean('alert_beep').defaultTo(false);
    }),
  ]);
};

exports.down = function (knex, Promise) {
  return Promise.all([
    knex.raw('ALTER TABLE cms DROP COLUMN IF EXISTS alert_beep;'),
  ]);
};
