Module

study

Members

Object

# inner constant study

View Source api/models/study.js, line 34

Example
{
 study_id: {
   type: DataTypes.INTEGER,
   primaryKey: boolean,
   allowNull: boolean,
   autoIncrement: boolean
 },
 entry_level: {
   type: DataTypes.INTEGER,
   allowNull: boolean
 },
 exit_level: { type: DataTypes.INTEGER },
 entry_date: {
   type: DataTypes.DATE,
   allowNull: boolean
 },
 exit_date: { type: DataTypes.DATE }
}

Methods

# static define(sequelize, name)

Define the model

Parameters:
Name Type Description
sequelize Sequelize
name string

The file name used for the definition

View Source api/models/study.js, line 64