Created
June 7, 2023 07:30
-
-
Save kristersd/8dc1fac20e5ee6eb91519633a4920ba0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Sequelize = require("sequelize"); | |
const DataTypes = Sequelize.DataTypes; | |
const setupHabit = require("./models/Habit"); | |
// require your sequelize instance, where you called `new Sequelize()` | |
const instance = require(""); | |
const Habit = setupHabit(instance, DataTypes); | |
module.exports = { Habit }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment