Skip to content

Commit

Permalink
code cleanup on program setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronald-pro committed May 16, 2024
1 parent 1d1dbd4 commit 04ad12c
Show file tree
Hide file tree
Showing 2 changed files with 242 additions and 160 deletions.
24 changes: 24 additions & 0 deletions models/n_patient_obs.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
const sequelize = require("../db_config");
const Sequelize = require("sequelize");
const Joi = require("joi");

const NpatientObs = sequelize.sequelize.define(
"tbl_nishauri_patient_observations", {
id: {
type: Sequelize.INTEGER,
primaryKey: true,
autoIncrement: true
},

lab_data:Sequelize.JSON,
patient_ob:Sequelize.JSON,
user_id:Sequelize.INTEGER
}, {
timestamps: true,
paranoid: true,
underscored: true,
freezeTableName: true,
tableName: "tbl_nishauri_patient_observations"
}
);
exports.NpatientObs = NpatientObs;
Loading

0 comments on commit 04ad12c

Please sign in to comment.