Created the Domain model

This commit is contained in:
2022-12-27 15:01:59 +01:00
parent c137b8b129
commit 30edb74664

9
server/models/Domain.js Normal file
View File

@ -0,0 +1,9 @@
const Sequelize = require('sequelize');
const db = require("../config/database");
module.exports = db.define("domains", {
domainName: {
type: Sequelize.STRING,
allowNull: false
}
});