const maxUserId = await Users.findOne({ order: [["userId", "DESC"]], }); // Users테이블을 order 정렬
await Users.create({ nickname, password, userId }); // Users row생성 await Posts.update( { title: title, content: content, }, { where: { postId: postId } } ); // 특정 Posts update하기