Erster Aufbau Forum
This commit is contained in:
@@ -26,6 +26,7 @@ Diary.init({
|
||||
tableName: 'diary',
|
||||
schema: 'community',
|
||||
timestamps: true,
|
||||
underscored: true,
|
||||
});
|
||||
|
||||
export default Diary;
|
||||
|
||||
@@ -15,7 +15,7 @@ DiaryHistory.init({
|
||||
oldText: {
|
||||
type: DataTypes.TEXT,
|
||||
allowNull: false,
|
||||
},
|
||||
},
|
||||
oldCreatedAt: {
|
||||
type: DataTypes.DATE,
|
||||
allowNull: false,
|
||||
@@ -30,6 +30,7 @@ DiaryHistory.init({
|
||||
tableName: 'diary_history',
|
||||
schema: 'community',
|
||||
timestamps: false,
|
||||
underscored: true,
|
||||
});
|
||||
|
||||
export default DiaryHistory;
|
||||
|
||||
Reference in New Issue
Block a user