Skip to content

Commit

Permalink
Merge pull request #6 from palladiumkenya/nishauriV2
Browse files Browse the repository at this point in the history
changes on user authentication signup,login,otp
  • Loading branch information
Murithijoshua authored Mar 7, 2024
2 parents 7691562 + 97f0bb1 commit 3e96662
Show file tree
Hide file tree
Showing 2 changed files with 2,117 additions and 2,199 deletions.
25 changes: 25 additions & 0 deletions models/n_program_type.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
const sequelize = require("../db_config");
const Sequelize = require("sequelize");
const Joi = require("joi");

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

name:Sequelize.STRING,
program_code:Sequelize.STRING,
description:Sequelize.STRING,
is_active:Sequelize.STRING
}, {
timestamps: true,
paranoid: true,
underscored: true,
freezeTableName: true,
tableName: "tbl_nishauri_program_type"
}
);
exports.NprogramTypes = NprogramTypes;
Loading

0 comments on commit 3e96662

Please sign in to comment.