Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. module.exports = (sequelize, Sequelize) => {
  2. return sequelize.define('usercomputer', {
  3. name: {
  4. type: Sequelize.STRING(),
  5. allowNull: false
  6. },
  7. ipv4: {
  8. type: Sequelize.STRING(),
  9. allowNull: false
  10. },
  11. osname:{
  12. type: Sequelize.STRING(),
  13. allowNull: false
  14. },
  15. osversion:{
  16. type: Sequelize.STRING(),
  17. allowNull: false
  18. },
  19. }, {
  20. timestamps: true
  21. });
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement