UNPKG

giganet_conecta

Version:

Aplicação com o fim de facilitar conexões com APi's e Banco de Dados (MySql, Mongo e Elasticsearch).

36 lines (30 loc) 868 B
const { Model, DataTypes } = require("sequelize"); module.exports = Relatorio_Netflix async function Relatorio_Netflix(sequelize) { class Model_Relatorio_Netflix extends Model { } Model_Relatorio_Netflix.init({ olt: { type: DataTypes.TEXT, primaryKey: true, autoIncrement: true, }, total_contas: { type: DataTypes.INTEGER, allowNull: false, }, total_perfis: { type: DataTypes.INTEGER, allowNull: false, }, perfis_livres: { type: DataTypes.INTEGER, allowNull: false, } }, { sequelize, timestamps: false, modelName: "relatorio_netflix", tableName: "relatorio_netflix", }); return Model_Relatorio_Netflix }