/*
 Navicat Premium Dump SQL

 Source Server         : 192.168.0.222
 Source Server Type    : MySQL
 Source Server Version : 80031 (8.0.31)
 Source Host           : 192.168.0.222:3306
 Source Schema         : ry_refactor0120

 Target Server Type    : MySQL
 Target Server Version : 80031 (8.0.31)
 File Encoding         : 65001

 Date: 24/01/2026 14:48:23
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for stocks_in_trend
-- ----------------------------
DROP TABLE IF EXISTS `stocks_in_trend`;
CREATE TABLE `stocks_in_trend`  (
  `id` double NOT NULL AUTO_INCREMENT,
  `code` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `trade_day` date NULL DEFAULT NULL COMMENT '交易日期',
  `sort` int NULL DEFAULT -1 COMMENT '排名',
  `type` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '动量数据类型（10日、20日）',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2692129 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '动量个股' ROW_FORMAT = DYNAMIC;

SET FOREIGN_KEY_CHECKS = 1;
