Skip to content

Commit

Permalink
add default expiry (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
ngocthanh1389 authored Jul 4, 2024
1 parent 749b125 commit 6dd4476
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
UPDATE tradelogs SET expiration_date = 0 WHERE expiration_date IS NULL;
ALTER TABLE tradelogs ALTER COLUMN expiration_date SET DEFAULT 0;
ALTER TABLE tradelogs ALTER COLUMN expiration_date SET NOT NULL;

0 comments on commit 6dd4476

Please sign in to comment.