createTable('{{%comment}}', [ 'id' => $this->primaryKey(), 'created_at' => $this->dateTime(), 'updated_at' => $this->dateTime(), 'user_id' => $this->integer(11), 'parent_id' => $this->integer(11), 'entity_type' => $this->integer(2), 'entity_id' => $this->integer(11), 'status' => $this->integer(1), 'text' => $this->text() ]); } /** * {@inheritdoc} */ public function safeDown() { $this->dropTable('{{%comment}}'); } }