-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
Tables having a default value of CURRENT_TIME
for a timestamp fail to deploy on MySQL because the function is quoted. This looks like a bug in sql-translator which is a regression on a bug fixed in 2008.
perl -MWTSI::DNAP::Warehouse::Schema -e 'my $s = WTSI::DNAP::Warehouse::Schema->connect("dbi:mysql:dbname=mlwarehouse;host=xxx.xxx.xxx.xxx", $user, $passord); $s->deploy'
My workaround is to scrape the invalid DDL from STDERR
and fix it manually.
Metadata
Metadata
Assignees
Labels
No labels