addColumn('point_vente', 'acces_restreint', Schema::TYPE_BOOLEAN.' DEFAULT 0') ; $this->createTable('point_vente_user', [ 'id_point_vente' => Schema::TYPE_INTEGER.' NOT NULL', 'id_user' => Schema::TYPE_INTEGER.' NOT NULL', ]); $this->addPrimaryKey('point_vente_user_pk', 'point_vente_user', ['id_point_vente', 'id_user']); } public function down() { $this->dropColumn('point_vente', 'acces_restreint') ; $this->dropTable('point_vente_user') ; } }