시드 생성
This commit is contained in:
@@ -5,12 +5,12 @@ class ActivityLog extends Model {}
|
||||
|
||||
ActivityLog.init({
|
||||
id: {
|
||||
type: DataTypes.INTEGER,
|
||||
type: DataTypes.INTEGER.UNSIGNED,
|
||||
primaryKey: true,
|
||||
autoIncrement: true
|
||||
},
|
||||
userId: {
|
||||
type: DataTypes.INTEGER,
|
||||
type: DataTypes.INTEGER.UNSIGNED,
|
||||
allowNull: false,
|
||||
references: {
|
||||
model: 'Users',
|
||||
|
||||
Reference in New Issue
Block a user