import { DataTypes } from 'sequelize';
export default (sequelize) => sequelize.define('organizations', {
  org_id:        { type: DataTypes.INTEGER, primaryKey: true, autoIncrement: true },
  org_name:      { type: DataTypes.STRING(255), allowNull: false, unique: true },
  primary_role:  { type: DataTypes.STRING(50) }, // OWNER/DESIGNER/CONSULTANT/CONTRACTOR/THIRD_PARTY
  created_at:    { type: DataTypes.DATE },
  updated_at:    { type: DataTypes.DATE },
});
