Skip to content

Commit 1678ad5

Browse files
committed
Update external balance checkpoint pg table name
1 parent 4012643 commit 1678ad5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pkg/code/data/balance/postgres/model.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
)
1313

1414
const (
15-
externalCheckpointTableName = "codewallet__core_balanceexternalcheckpoint"
15+
externalCheckpointTableName = "codewallet__core_externalbalancecheckpoint"
1616
)
1717

1818
type externalCheckpointModel struct {

pkg/code/data/balance/postgres/store_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ var (
2424
const (
2525
// Used for testing ONLY, the table and migrations are external to this repository
2626
tableCreate = `
27-
CREATE TABLE codewallet__core_balanceexternalcheckpoint (
27+
CREATE TABLE codewallet__core_externalbalancecheckpoint (
2828
id SERIAL NOT NULL PRIMARY KEY,
2929
3030
token_account TEXT NOT NULL,
@@ -39,7 +39,7 @@ const (
3939

4040
// Used for testing ONLY, the table and migrations are external to this repository
4141
tableDestroy = `
42-
DROP TABLE codewallet__core_balanceexternalcheckpoint;
42+
DROP TABLE codewallet__core_externalbalancecheckpoint;
4343
`
4444
)
4545

0 commit comments

Comments
 (0)