{"size": 381, "ext": "js", "max_stars_repo_path": "src/analytics/db/migrations/20210107135620_create_domain_users.js", "max_stars_repo_name": "ccetc/mahaplatform.com", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/analytics/db/migrations/20210107135620_create_domain_users.js", "max_issues_repo_name": "ccetc/mahaplatform.com", "max_issues_repo_issues_event_min_datetime": "2019-10-28T15:38:35.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-28T04:23:48.000Z", "max_forks_repo_path": "src/analytics/db/migrations/20210207135620_create_domain_users.js", "max_forks_repo_name": "mahaplatform/mahaplatform.com", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 52, "max_forks_count": null, "avg_line_length": 19.05, "max_line_length": 62, "alphanum_fraction": 0.6404199475}
const CreateDomainUser = {

  databaseName: 'analytics',

  up: async (knex) => {
    await knex.schema.createTable('domain_users', (table) => {
      table.increments('id').primary()
      table.string('domain_userid')
      table.integer('contact_id')
    })
  },

  down: async (knex) => {
    await knex.schema.dropTable('domain_users')
  }

}

export default CreateDomainUser
