Skip to content

Commit

Permalink
patch script
Browse files Browse the repository at this point in the history
  • Loading branch information
dholms committed Nov 4, 2023
1 parent 8aa20ef commit f2201eb
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/pds/src/migrate-script/db.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,8 @@ export const dbMigrationProvider: MigrationProvider = {
.addColumn('pdsId', 'integer')
.addColumn('signingKey', 'varchar')
.addColumn('phase', 'integer', (col) => col.notNull().defaultTo(0))
.addColumn('importedRev', 'varchar', (col) =>
col.notNull().defaultTo(0),
)
.addColumn('failed', 'integer')
.addColumn('importedRev', 'varchar')
.addColumn('failed', 'integer', (col) => col.notNull().defaultTo(0))
.execute()
await db.schema
.createTable('failed_pref')
Expand Down

0 comments on commit f2201eb

Please sign in to comment.