Skip to content

Commit

Permalink
revert to correct version
Browse files Browse the repository at this point in the history
Signed-off-by: mteodor <[email protected]>
  • Loading branch information
mteodor committed Oct 6, 2021
1 parent c56c919 commit 5055b1e
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions users/postgres/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,6 @@ func migrateDB(db *sqlx.DB) error {
`ALTER TABLE IF EXISTS users ADD PRIMARY KEY (id)`,
},
},
{
Id: "users_5",
Up: []string{
`ALTER TABLE IF EXISTS users DROP CONSTRAINT IF EXISTS users_owner_id_fkey`,
`ALTER TABLE IF EXISTS users DROP COLUMN IF EXISTS owner_id`,
},
},
},
}

Expand Down

0 comments on commit 5055b1e

Please sign in to comment.