Skip to content

Tenant Deletion

Rui edited this page Dec 16, 2020 · 1 revision

To drop tenants using Apartment, use the following command:

Apartment::Tenant.drop('tenant_name')

When method is called, the schema is dropped and all data from itself will be lost. Be careful with this method.