Skip to content

Commit

Permalink
fix pool ip (0xPolygonHermez#1842)
Browse files Browse the repository at this point in the history
  • Loading branch information
ToniRamirezM authored Mar 16, 2023
1 parent c00c77c commit 9c7752e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions db/migrations/pool/0004.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
-- +migrate Up
ALTER TABLE pool.transaction
ALTER COLUMN ip SET NOT NULL;
ALTER TABLE pool.transaction
ALTER COLUMN ip SET DEFAULT '';

-- +migrate Down
ALTER TABLE pool.transaction
ALTER COLUMN ip DROP NOT NULL;
ALTER TABLE pool.transaction
ALTER COLUMN ip DROP DEFAULT;

0 comments on commit 9c7752e

Please sign in to comment.