text: const Sequelize = require('sequelize')
  
  const db = new Sequelize( {
    dialect: 'sqlite',
    storage: 'users.db',
  })
  
  const Users = db.define('user', {
    username: {
      type: Sequelize.STRING,
      unique: true,
      allowNull: false,
    },
    email: {
      type: Sequelize.STRING,
      unique: true,
      allowNull: true,
    },
    password: {
      type: Sequelize.STRING,
      allowNull: true,
    },
    fbAccessToken:{
      type: Sequelize.STRING,
    },
    ghAccessToken:{
      type: Sequelize.STRING,
    }
  })
  
  module.exports = {
    db, Users
  }
  