-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
24 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
...al/database/dialer/cockroachdb/migration/20240625032621_log_epoch_in_consumption_logs.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
-- +goose Up | ||
-- modify "consumption_log" table | ||
ALTER TABLE "consumption_log" ADD COLUMN "epoch" bigint NULL; | ||
-- create index "idx_consumption_log_epoch" to table: "consumption_log" | ||
CREATE INDEX "idx_consumption_log_epoch" ON "consumption_log" ("epoch"); | ||
|
||
-- +goose Down | ||
-- reverse: create index "idx_consumption_log_epoch" to table: "consumption_log" | ||
DROP INDEX "idx_consumption_log_epoch"; | ||
-- reverse: modify "consumption_log" table | ||
ALTER TABLE "consumption_log" DROP COLUMN "epoch"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
h1:ZB34dfRTafUwvatIUV2sfG90qWrY9r2uYqwTGjWJ3Mo= | ||
h1:NodNA4vCC47We5+GZ856N+lOSUshOma5QhzzeeXzzMA= | ||
20240412045602_paymentprocessor_initialize.sql h1:g7m9g5t7iEBcov37BjXuSBuJ2ZU1TGr1nXp5BFLsXSY= | ||
20240412060447_fix_billing_records.sql h1:loxzDAViwQIGG0FMizIx5JAVSNFo5bSBKezVPGM+m2w= | ||
20240412091335_add_node_request_records.sql h1:dCOPKhH6bk+hGdwuBPd15FRE1VKw4upxKhEbNhlaDmQ= | ||
20240606022850_alter_column_index_set_not_null.sql h1:c2TudjXeo9Zat/dI1IVIFHRCtQMkWGiTtKonuGehrfE= | ||
20240606022851_use_composite_primary_key.sql h1:by+rptJXIC/AGyYo2rOoCotEJiWFAUkU04CUGnKxvl0= | ||
20240625032621_log_epoch_in_consumption_logs.sql h1:Oj+Pn+Bzv8niB4/PIhzNqVU2JXqFMteasMDcFjdad78= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters