Skip to content
This repository was archived by the owner on Sep 12, 2019. It is now read-only.

Commit 54322a4

Browse files
authored
Merge pull request #42 from stellar/remove-uniqueness
Remove transaction_id unique constraint
2 parents 843e485 + a0e7114 commit 54322a4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/github.com/stellar/gateway/db/drivers/postgres/bindata.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/github.com/stellar/gateway/db/drivers/postgres/migrations_compliance/01_init.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
-- +migrate Up
22
CREATE TABLE AuthorizedTransaction (
33
id bigserial,
4-
transaction_id varchar(64) UNIQUE NOT NULL,
4+
transaction_id varchar(64) NOT NULL,
55
memo varchar(64) NOT NULL,
66
transaction_xdr text NOT NULL,
77
authorized_at timestamp NOT NULL,

0 commit comments

Comments
 (0)