getTable('appconfig'); $table->addColumn('lazy', Types::SMALLINT, ['notnull' => true, 'default' => 0, 'length' => 1, 'unsigned' => true]); /** * we only need an index on lazy, the group 'appid'+'configkey' already * exists as primary ({@see Version13000Date20170718121200}) */ $table->addIndex(['lazy'], 'ac_lazy_i'); return $schema; } }