mix kirayedar.setup (Kirayedar v0.1.0)
View SourceGenerates the complete Kirayedar multi-tenancy setup for your application.
This task will:
- Generate the tenant model
- Create the tenant table migration
- Update your config.exs
- Optionally generate LiveView CRUD
Usage
mix kirayedar.setupYou will be prompted for:
- Tenant resource name (e.g., "Tenant", "Organization")
- Whether to use binary_id (UUID)
- Admin host domain
- Whether to generate LiveViews
Summary
Functions
Callback implementation for Mix.Task.run/1.