Skip to content

Commit

Permalink
Merge pull request #233 from metaDAOproject/fix/number-size-volume
Browse files Browse the repository at this point in the history
feat: use normal numbers and math
  • Loading branch information
R-K-H authored Aug 17, 2024
2 parents 6bfea99 + 0213655 commit f0be5db
Show file tree
Hide file tree
Showing 6 changed files with 2,702 additions and 37 deletions.
6 changes: 6 additions & 0 deletions packages/database/drizzle/0063_wonderful_blue_shield.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
ALTER TABLE "user_performance" ALTER COLUMN "tokens_bought" SET DATA TYPE numeric(40, 20);--> statement-breakpoint
ALTER TABLE "user_performance" ALTER COLUMN "tokens_sold" SET DATA TYPE numeric(40, 20);--> statement-breakpoint
ALTER TABLE "user_performance" ALTER COLUMN "volume_bought" SET DATA TYPE numeric(40, 20);--> statement-breakpoint
ALTER TABLE "user_performance" ALTER COLUMN "volume_sold" SET DATA TYPE numeric(40, 20);--> statement-breakpoint
ALTER TABLE "user_performance" ADD COLUMN "total_volume" numeric(40, 20) NOT NULL;
ALTER TABLE "user_performance" ADD COLUMN "updated_at" timestamp with time zone DEFAULT now() NOT NULL;
Loading

0 comments on commit f0be5db

Please sign in to comment.