You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
264 B

  1. /**
  2. * Group schema
  3. */
  4. module.exports = (sequelize, DataTypes) => {
  5. let groupSchema = sequelize.define('group', {
  6. name: {
  7. type: DataTypes.STRING,
  8. allowNull: false
  9. }
  10. }, {
  11. timestamps: true,
  12. version: true
  13. })
  14. return groupSchema
  15. }