migrate/1763705747_create_dma_agent_users.up.sql
2025-11-21 15:16:46 +08:00

9 lines
439 B
SQL
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

CREATE TABLE `ufutx_dma_agent_user` (
`id` INT NOT NULL AUTO_INCREMENT,
`user_id` INTEGER NOT NULL COMMENT '用户id',
`level` INTEGER DEFAULT NULL COMMENT '等级 1标准代理商2高级代理商',
`from_user_id` INTEGER DEFAULT NULL COMMENT '分享人',
`created_at` TIMESTAMP NULL DEFAULT NULL,
`updated_at` TIMESTAMP NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE = InnoDB COMMENT = 'dma代理商';