Skip to content

Commit

Permalink
fix: clear-tables script - don't delete friends
Browse files Browse the repository at this point in the history
  • Loading branch information
mvayngrib committed Mar 6, 2018
1 parent ed44708 commit fbd2a65
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/scripts/clear-tables.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ loadCredentials()

import yn = require('yn')
import readline = require('readline')
import { tradle } from '../'
import { createRemoteTradle } from '../'

const { aws, env, dbUtils } = tradle
const { aws, env, dbUtils } = createRemoteTradle()
const { listTables, clear } = dbUtils
const tableToClear = process.argv.slice(2)
const skip = [
'pubkeys',
'presence',
'events',
'seals',
'tradle_MyCloudFriend'
'friends'
]

const { href } = aws.dynamodb.endpoint
Expand Down

0 comments on commit fbd2a65

Please sign in to comment.