-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #239 from metaDAOproject/fix/update-end-time
fix: use UTC string vs tolocale
- Loading branch information
Showing
16 changed files
with
2,945 additions
and
15 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
node_modules | ||
.vscode/launch.json | ||
.env* | ||
.history | ||
.history | ||
.DS_Store |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
ALTER TABLE "user_performance" ADD COLUMN "dao_acct" varchar(44);--> statement-breakpoint | ||
ALTER TABLE "user_performance" ADD COLUMN "total_volume" numeric(40, 20) DEFAULT '0.0' NOT NULL;--> statement-breakpoint | ||
ALTER TABLE "user_performance" ADD COLUMN "tokens_bought_resolving_market" numeric(40, 20) DEFAULT '0.0' NOT NULL;--> statement-breakpoint | ||
ALTER TABLE "user_performance" ADD COLUMN "tokens_sold_resolving_market" numeric(40, 20) DEFAULT '0.0' NOT NULL;--> statement-breakpoint | ||
ALTER TABLE "user_performance" ADD COLUMN "volume_bought_resolving_market" numeric(40, 20) DEFAULT '0.0' NOT NULL;--> statement-breakpoint | ||
ALTER TABLE "user_performance" ADD COLUMN "volume_sold_resolving_market" numeric(40, 20) DEFAULT '0.0' NOT NULL;--> statement-breakpoint | ||
ALTER TABLE "user_performance" ADD COLUMN "buy_orders_count" bigint DEFAULT 0 NOT NULL;--> statement-breakpoint | ||
ALTER TABLE "user_performance" ADD COLUMN "sell_orders_count" bigint DEFAULT 0 NOT NULL;--> statement-breakpoint | ||
-- ALTER TABLE "user_performance" ADD COLUMN "updated_at" timestamp with time zone DEFAULT now() NOT NULL;--> statement-breakpoint | ||
DO $$ BEGIN | ||
ALTER TABLE "user_performance" ADD CONSTRAINT "user_performance_dao_acct_daos_dao_acct_fk" FOREIGN KEY ("dao_acct") REFERENCES "daos"("dao_acct") ON DELETE no action ON UPDATE no action; | ||
EXCEPTION | ||
WHEN duplicate_object THEN null; | ||
END $$; |
Oops, something went wrong.