Add fix for MySQL < 5.6.5

[MAILPOET-1855]
This commit is contained in:
Jan Jakeš
2019-04-24 17:05:15 +02:00
committed by M. Shull
parent 82210b40eb
commit 9aaafaa8f9

View File

@@ -460,7 +460,7 @@ class Migrator {
'order_id bigint(20) unsigned NOT NULL,',
'order_currency char(3) NOT NULL,',
'order_price_total float NOT NULL COMMENT "With shipping and taxes in order_currency",',
'created_at timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,',
'created_at timestamp NULL,',
'updated_at timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,',
'PRIMARY KEY (id),',
'KEY newsletter_id (newsletter_id),',