'commit'
This commit is contained in:
24
DataX_Bad/scheme/output/t_user_account_doris.sql
Normal file
24
DataX_Bad/scheme/output/t_user_account_doris.sql
Normal file
@@ -0,0 +1,24 @@
|
||||
CREATE TABLE `t_user_account` (
|
||||
`id` BIGINT NOT NULL,
|
||||
`user_id` BIGINT NOT NULL,
|
||||
`ua_balance` DECIMAL(20,2) NOT NULL DEFAULT '0.00' COMMENT '户用充值金额',
|
||||
`ua_deposit` DECIMAL(20,2) DEFAULT '0.00' COMMENT '押金',
|
||||
`ua_balance_time` DATETIME COMMENT '户用创建日期时间',
|
||||
`ua_password` VARCHAR(32),
|
||||
`ua_state` CHAR(1) NOT NULL DEFAULT '0' COMMENT '用户状态 0 可用',
|
||||
`ua_real_balance` DECIMAL(20,2) NOT NULL DEFAULT '0.00' COMMENT '用户账户可用金额',
|
||||
`ua_real_degree` DOUBLE DEFAULT '0.00' COMMENT '户用可用充电度数',
|
||||
`create_time` DATETIME,
|
||||
`update_time` DATETIME,
|
||||
`donate_money` DECIMAL(20,2) NOT NULL DEFAULT '0.00' COMMENT '赠送金额',
|
||||
`donate_able_money` DECIMAL(20,2) NOT NULL DEFAULT '0.00' COMMENT '赠送可用金额',
|
||||
`ua_able_balance` DECIMAL(20,2) NOT NULL DEFAULT '0.00' COMMENT '账户可用金额',
|
||||
`refund_money` DECIMAL(20,2) DEFAULT '0.00' COMMENT '退款金额',
|
||||
`ua_consume_money` DECIMAL(20,2) DEFAULT '0.00' COMMENT '费消金额',
|
||||
`ua_clear_zero_money` DECIMAL(20,2) DEFAULT '0.00' COMMENT '用户清零金额'
|
||||
)
|
||||
UNIQUE KEY(`id`)
|
||||
DISTRIBUTED BY HASH(`id`) BUCKETS 1
|
||||
PROPERTIES (
|
||||
"replication_num" = "1"
|
||||
);
|
||||
Reference in New Issue
Block a user