17 lines
436 B
JavaScript
17 lines
436 B
JavaScript
module.exports = (sequelize, type) => {
|
|
const Ctestcomplate = sequelize.define('ctestcomplate', {
|
|
id: {
|
|
type: type.INTEGER,
|
|
primaryKey: true,
|
|
autoIncrement: true
|
|
},
|
|
ct_id: type.INTEGER,
|
|
user_id: type.INTEGER,
|
|
cohort_id: type.INTEGER,
|
|
status: {
|
|
type: type.INTEGER,
|
|
defaultValue: 0
|
|
}
|
|
})
|
|
return Ctestcomplate;
|
|
} |