<commit_before>/* Database Configuration */
var mysql = require('mysql');
var Sequelize = require('sequelize');
var sequelize = null;

//if environment is heroku
if (process.env.CLEARDB_DATABASE_URL){
  //initialize db on Heroku
  sequelize = new Sequelize(process.env.CLEARDB_DATABASE_URL);
  } else {
  //initialize db on localhost
  sequelize = new Sequelize('pluribus', 'root', '', {logging: false});
}

//The unique 'googid' property set by Google OAuth, it is NOT the 'id' set automatically by MySQL
var User = sequelize.define('User', {
  googid: {
    type: Sequelize.STRING,
    primaryKey: true,
    autoIncrement: false,
    allowNull: true,
    },
  firstName: Sequelize.STRING,
  lastName: Sequelize.STRING,
  email: Sequelize.STRING,
  picture: Sequelize.STRING,
});<commit_msg>(fix) set allowNull to false<commit_after>/* Database Configuration */
var mysql = require('mysql');
var Sequelize = require('sequelize');
var sequelize = null;

//if environment is heroku
if (process.env.CLEARDB_DATABASE_URL){
  //initialize db on Heroku
  sequelize = new Sequelize(process.env.CLEARDB_DATABASE_URL);
  } else {
  //initialize db on localhost
  sequelize = new Sequelize('pluribus', 'root', '', {logging: false});
}

//The unique 'googid' property set by Google OAuth, it is NOT the 'id' set automatically by MySQL
var User = sequelize.define('User', {
  googid: {
    type: Sequelize.STRING,
    primaryKey: true,
    autoIncrement: false,
    allowNull: false,
    },
  firstName: Sequelize.STRING,
  lastName: Sequelize.STRING,
  email: Sequelize.STRING,
  picture: Sequelize.STRING,
});
{'fraction_non_alphanumeric': 0.125, 'fraction_numerical': 0.0, 'mean_word_length': 4.2838283828382835, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3268126', 'n_tokens_mistral': 537, 'n_tokens_neox': 524, 'n_words': 150}