We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Drop table/column in Migration.

I am switching to Phalcon from Lavael. I was reading https://docs.phalcon.io/en/latest/reference/migrations.html and did not see how to drop a table or column in the migration. In Laravel Schema::drop('users') drops a table and $table->dropColumn('votes') drops a column. How is this done in Phalcon's migrations?

Thank you.

edited Jul '16

You can just access $this->_connection and use those methods here - https://docs.phalcon.io/pl/latest/api/Phalcon_Db_AdapterInterface.html