Skip to content

Commit

Permalink
fix: clubs/club/{id}
Browse files Browse the repository at this point in the history
  • Loading branch information
pbc1017 committed Mar 21, 2024
1 parent 47ca067 commit 33ab299
Show file tree
Hide file tree
Showing 3 changed files with 179 additions and 641 deletions.
22 changes: 2 additions & 20 deletions back/models/Member.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,11 @@ module.exports = function(sequelize, DataTypes) {
},
uid: {
type: DataTypes.STRING(30),
allowNull: true,
unique: "uid"
allowNull: true
},
kaist_uid: {
type: DataTypes.STRING(30),
allowNull: true,
unique: "kaist_uid"
allowNull: true
},
sid: {
type: DataTypes.STRING(30),
Expand Down Expand Up @@ -61,22 +59,6 @@ module.exports = function(sequelize, DataTypes) {
{ name: "student_id" },
]
},
{
name: "uid",
unique: true,
using: "BTREE",
fields: [
{ name: "uid" },
]
},
{
name: "kaist_uid",
unique: true,
using: "BTREE",
fields: [
{ name: "kaist_uid" },
]
},
]
});
};
Loading

0 comments on commit 33ab299

Please sign in to comment.