Skip to content

Commit

Permalink
[Mod] 更新版本号到1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
vnpy committed Aug 6, 2022
1 parent 74bae97 commit 06dd345
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</p>

<p align="center">
<img src ="https://img.shields.io/badge/version-1.0.0-blueviolet.svg"/>
<img src ="https://img.shields.io/badge/version-1.0.2-blueviolet.svg"/>
<img src ="https://img.shields.io/badge/platform-windows|linux|macos-yellow.svg"/>
<img src ="https://img.shields.io/badge/python-3.7|3.8|3.9|3.10-blue.svg" />
</p>
Expand Down Expand Up @@ -46,9 +46,11 @@ VeighNa不会主动为MySQL数据库创建实例,所以使用前请确保datab
# 选择数据实例
use vnpy;
# 修改三张表symbol字段的BINARY属性
# 修改四张表symbol字段的BINARY属性
ALTER TABLE `dbbaroverview` MODIFY COLUMN `symbol` VARCHAR(45) BINARY;
ALTER TABLE `dbtickoverview` MODIFY COLUMN `symbol` VARCHAR(45) BINARY;
ALTER TABLE `dbbardata` MODIFY COLUMN `symbol` VARCHAR(45) BINARY;
ALTER TABLE `dbtickdata` MODIFY COLUMN `symbol` VARCHAR(45) BINARY;
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = vnpy_mysql
version = 1.0.1
version = 1.0.2
url = https://www.vnpy.com
license = MIT
author = Xiaoyou Chen
Expand Down
4 changes: 3 additions & 1 deletion vnpy_mysql/mysql_database.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,10 @@


class DateTimeMillisecondField(DateTimeField):
# 毫秒支持
"""支持毫秒的日期时间戳字段"""

def get_modifiers(self):
"""毫秒支持"""
return [3]


Expand Down

0 comments on commit 06dd345

Please sign in to comment.