Skip to content

Commit

Permalink
Remove legacy database types
Browse files Browse the repository at this point in the history
We keep the legacy routes around, but turn them into no-ops. Registering a new device still works, since we still want to send security notifications to legacy devices.
  • Loading branch information
swansontec committed Dec 4, 2024
1 parent b5a476c commit a26933b
Show file tree
Hide file tree
Showing 7 changed files with 66 additions and 491 deletions.
2 changes: 0 additions & 2 deletions src/cli/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { setupDatabases } from '../db/couchSetup'
import { serverConfig } from '../serverConfig'
import { ServerContext } from './cliTools'
import { GetDevice } from './commands/getDevice'
import { MigrateDevices } from './commands/migrateDevices'
import { PushMarketing } from './commands/pushMarketing'
import { SendMessage } from './commands/sendMessage'

Expand All @@ -30,7 +29,6 @@ async function main(): Promise<void> {

// Our commands:
cli.register(GetDevice)
cli.register(MigrateDevices)
cli.register(SendMessage)
cli.register(PushMarketing)

Expand Down
72 changes: 0 additions & 72 deletions src/cli/commands/migrateDevices.ts

This file was deleted.

31 changes: 0 additions & 31 deletions src/models/Device.ts

This file was deleted.

116 changes: 0 additions & 116 deletions src/models/User.ts

This file was deleted.

23 changes: 0 additions & 23 deletions src/models/User/views.ts

This file was deleted.

Loading

0 comments on commit a26933b

Please sign in to comment.