15 lines
409 B
JavaScript
15 lines
409 B
JavaScript
module.exports = (sequelize, type) => {
|
|
const ActivityTracker = sequelize.define('activity_trackers', {
|
|
id: {
|
|
type: type.INTEGER,
|
|
primaryKey: true,
|
|
autoIncrement: true
|
|
},
|
|
user_id: type.INTEGER,
|
|
email: type.TEXT,
|
|
cohort_id: type.INTEGER,
|
|
type: type.TEXT,
|
|
description: type.TEXT
|
|
})
|
|
return ActivityTracker;
|
|
} |