beego / bee

Bee is a tool for helping develop with beego app framework.
Apache License 2.0
1.44k stars 920 forks source link

bee migrate not working with mariadb@10.3.13 #592

Open FunnyCatServant opened 5 years ago

FunnyCatServant commented 5 years ago
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 15
Server version: 5.5.5-10.3.13-MariaDB Homebrew

Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
$ bee migrate -conn="root:@tcp(127.0.0.1:3306)/mx"

______
| ___ \
| |_/ /  ___   ___
| ___ \ / _ \ / _ \
| |_/ /|  __/|  __/
\____/  \___| \___| v1.10.0

2019/03/29 01:33:34 INFO     ▶ 0001 Using 'mysql' as 'driver'
2019/03/29 01:33:34 INFO     ▶ 0002 Using 'root:@tcp(127.0.0.1:3306)/mx' as 'conn'
2019/03/29 01:33:34 INFO     ▶ 0003 Running all outstanding migrations
2019/03/29 01:33:34 INFO     ▶ 0004 Creating 'migrations' table...
2019/03/29 01:33:34 FATAL    ▶ 0005 Column migration.timestamp type mismatch: TYPE: timestamp, DEFAULT: current_timestamp()
stlswm commented 5 years ago

I met the same mistake.

macklus commented 4 years ago

Same here.