Skip to content
Snippets Groups Projects
Commit 5592a8bc authored by tpgus2603's avatar tpgus2603
Browse files

feat 엔티티모델 정의 및 DB연결 테스트완료 (#3)

parent d8244142
Branches
No related tags found
2 merge requests!5[#1#2#3] DB모델 객체 및 로그인 ,회원가입 구현,!2Feature/#3
......@@ -11,7 +11,7 @@ const Friend = sequelize.define('Friend', {
},
}, {
tableName: 'Friends',
timestamps: false,
timestamps: true,
});
Friend.belongsTo(User, { foreignKey: 'user_id', as: 'user' });
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment