10 lines
285 B
SQL
10 lines
285 B
SQL
CREATE TABLE "red_packets" (
|
|
"id" text PRIMARY KEY NOT NULL,
|
|
"count" integer NOT NULL,
|
|
"currency_name" text NOT NULL,
|
|
"currency_precision" numeric(20, 10) NOT NULL,
|
|
"rule" jsonb NOT NULL,
|
|
"max_draw_times" integer,
|
|
"created_at" timestamp with time zone DEFAULT now() NOT NULL
|
|
);
|