TheOchulus/models/users.js

14 lines
323 B
JavaScript

module.exports = (sequelize, DataTypes) => {
return sequelize.define('users', {
user_id: {
type: DataTypes.STRING,
primaryKey: true,
},
username: {
type: DataTypes.STRING,
allowNull: false,
},
}, {
timestamps: false,
});
};