Comments (8)
@stancl would be nice to see the status when developing, so i can check if any tenant failed a migration
from tenancy.
I don't think we need these.
from tenancy.
Agreed: I'm not sure these are critical.
Perhaps in a dev environment they may be useful, or for "stepped debugging", but not for normal use.
I find tenancy:migrate-fresh
is enough.
from tenancy.
@stancl @drbyte by the way shouldnt tenancy:migrate-fresh be tenancy:migrate:fresh with a ":" to keep parity with laravels default migrate:fresh command? :)
migrate
migrate:fresh Drop all tables and re-run all migrations
migrate:install Create the migration repository
migrate:refresh Reset and re-run all migrations
migrate:reset Rollback all database migrations
migrate:rollback Rollback the last database migration
migrate:status Show the status of each migration
tenancy
tenancy:install Install stancl/tenancy.
tenants
tenants:list List tenants.
tenants:migrate Run migrations for tenant(s)
tenants:migrate-fresh Drop all tables and re-run all migrations for tenant(s)
tenants:rollback Rollback migrations for tenant(s).
tenants:run Run a command for tenant(s)
tenants:seed Seed tenant database(s).
from tenancy.
then i could run make command
.PHONY: migrate-status ## migrate status central tenants and elastic
migrate-status:
@printf "Central migration status:\n"
@php artisan migrate:status
@printf "Tenants migration status:\n"
@php artisan tenants:migrate:status
@printf "Elastic migration status:\n"
@php artisan elastic:migrate:status
from tenancy.
I think if it were tenancy:migrate:fresh
, artisan would create another namespace for tenancy:migrate
, which isn't what we want.
from tenancy.
I think if it were
tenancy:migrate:fresh
, artisan would create another namespace fortenancy:migrate
, which isn't what we want.
aaah ok to bad nvm then for tenancy:migrate:fresh
:)
still would like status tho :)
from tenancy.
I would like status also
from tenancy.
Related Issues (20)
- Laravel 11 cannot access subdomain on multi-database setup HOT 1
- Issue with Laravel Nova Image not compatible with subdomain HOT 1
- Reset Password for Tenant not working HOT 1
- Preventing Timestamps from Being Auto-inserted into the data Column HOT 1
- Unable to seed spatie/laravel permission across multiple tenancy databases HOT 5
- Undefined constant RedisCluster::OPT_PREFIX HOT 5
- With laravel breeze and react ,Inertia.js not working after installing the package HOT 1
- Wrong domain url when on queue HOT 2
- Jestream Laravel Tenacy HOT 5
- InitializeTenancyByPath with livewire within tenant context throws exception HOT 8
- Make runForMultiple yield the callbacks return HOT 5
- Sugestion new Middleware
- Pass tenant to handle when using TenantAwareCommand trait HOT 2
- Route helper in job doesn't use tenant context domain HOT 5
- Tenancy is not working for Livewire HOT 4
- Nested sub domain HOT 3
- Could Not Switch tenants when using Aritsan command HOT 1
- 3.8.3 ViteBundler incompatibility with Laravel 9 HOT 3
- laravel 10 support HOT 1
- LOG.warning tenantIdColumn is deprecated HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tenancy.