This project is read-only.

Proper way to uninstall a Module?

Topics: Writing modules
Oct 4, 2012 at 11:17 AM

hi there,

what is the proper way to uninstall a module?

currently i go to the project and delete my module under module folder and go to database delete table of that module.


Oct 6, 2012 at 5:05 AM

As far as I know that's currently the only way.

Oct 10, 2012 at 2:20 AM

The database step is entirely optional. The extra data usually doesn't hurt.

Oct 24, 2012 at 2:46 PM

Also keep in mind that when you uninstall a module, to check in db, table Orchard_Framework_DataMigrationRecord if there are any rows refer to your tables of the uninstalling module. This is the table where Orchard keeps the different migration versions (Migrations.cs).

Oct 24, 2012 at 4:29 PM

This sounds like a nice feature for the next release. In the Gallery under Installed, when a module/feature is disabled have "Enable | Uninstall" as options.