Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- module.exports = (sequelize, Sequelize) => {
- return sequelize.define('usercomputer', {
- name: {
- type: Sequelize.STRING(),
- allowNull: false
- },
- ipv4: {
- type: Sequelize.STRING(),
- allowNull: false
- },
- osname:{
- type: Sequelize.STRING(),
- allowNull: false
- },
- osversion:{
- type: Sequelize.STRING(),
- allowNull: false
- },
- }, {
- timestamps: true
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement