Skip to content

Commit

Permalink
fix: Seed device.connected event (#169)
Browse files Browse the repository at this point in the history
* Seed connected_account.completed_first_sync event

* Change event to device.connected
  • Loading branch information
andrii-balitskyi authored Feb 7, 2024
1 parent c850a6c commit e9a396c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/lib/database/seed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,13 @@ export const seed = (db: Database): Seed => {
},
})

db.addEvent({
event_type: "device.connected",
workspace_id: "seed_workspace_1",
connected_account_id: "john_connected_account_id",
device_id: "august_device_1",
})

db.addDevice({
device_id: "august_device_2",
connected_account_id: "john_connected_account_id",
Expand Down

0 comments on commit e9a396c

Please sign in to comment.