kopia lustrzana https://github.com/FacilMap/facilmap
Fix error when creating database
rodzic
fa27bd0445
commit
4903d3039e
|
@ -69,7 +69,6 @@ export default class DatabaseHistory {
|
|||
afterInit(): void {
|
||||
this._db.pads.PadModel.hasMany(this.HistoryModel, makeNotNullForeignKey("History", "padId"));
|
||||
this.HistoryModel.belongsTo(this._db.pads.PadModel, makeNotNullForeignKey("pad", "padId"));
|
||||
this.HistoryModel.findOne()
|
||||
}
|
||||
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue