From 21469a13e37f1e2aa2c3365fc78f46243e6e7310 Mon Sep 17 00:00:00 2001 From: blopa Date: Sun, 24 Dec 2017 00:25:09 -0200 Subject: [PATCH] fix table options --- Magento2/app/code/Werules/Chatbot/Setup/InstallSchema.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Magento2/app/code/Werules/Chatbot/Setup/InstallSchema.php b/Magento2/app/code/Werules/Chatbot/Setup/InstallSchema.php index 5f03459..d1c10db 100644 --- a/Magento2/app/code/Werules/Chatbot/Setup/InstallSchema.php +++ b/Magento2/app/code/Werules/Chatbot/Setup/InstallSchema.php @@ -454,7 +454,7 @@ public function install( 'status', \Magento\Framework\DB\Ddl\Table::TYPE_SMALLINT, null, - [], + ['default' => 0,'nullable' => False], 'Status' );