Skip to content

Commit

Permalink
Update databaseHelper.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
aelassas committed Aug 13, 2024
1 parent 46a207d commit 6bc853d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/src/common/databaseHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import Token, { TOKEN_EXPIRE_AT_INDEX_NAME } from '../models/Token'
import User from '../models/User'
import Country from '../models/Country'
import ParkingSpot from '../models/ParkingSpot'
import AdditionalDriver from '../models/AdditionalDriver'

/**
* Connect to database.
Expand Down Expand Up @@ -277,6 +278,7 @@ export const initialize = async (): Promise<boolean> => {
await createCollection<env.PushToken>(PushToken)
await createCollection<env.Token>(Token)
await createCollection<env.User>(User)
await createCollection<env.AdditionalDriver>(AdditionalDriver)
}

//
Expand Down

0 comments on commit 6bc853d

Please sign in to comment.