shopit-back/database/migrations
ncoronel 689d115a8f feat(tenant): reintroduce tenant-specific props and instance values
Restore props support only for the Tenant domain using a tenant-scoped model
instead of the removed generic Prop/Propable implementation.

Add tenant prop definitions and instance values:
- add TenantProp and TenantPropValue models
- add tenant-only data type enum and prop validation rules
- add migrations for tenant_props and tenant_prop_values tables
- persist prop values by tenant_codigo + tenant_prop_codigo

Expose tenant prop management through the Tenant domain:
- add TenantPropController with CRUD endpoints
- add Store/Update request classes for tenant prop definitions
- register tenant-props routes

Re-enable tenant prop syncing and serialization:
- restore createWithProps/updateWithProps flows in Tenant
- validate props on tenant create/update requests
- include collapsed props in TenantResource
- keep the implementation scoped to Tenant without reintroducing polymorphic props

Add coverage for the new tenant prop behavior:
- update bootstrap tenant feature test to assert prop values
- add feature tests for tenant prop creation and validation
2026-06-24 14:50:58 -03:00
..
0001_01_01_000000_create_users_table.php initial commit 2026-06-18 10:09:24 -03:00
0001_01_01_000001_create_cache_table.php initial commit 2026-06-18 10:09:24 -03:00
0001_01_01_000002_create_jobs_table.php initial commit 2026-06-18 10:09:24 -03:00
2026_06_18_130006_create_personal_access_tokens_table.php initial commit 2026-06-18 10:09:24 -03:00
2026_06_18_135000_create_tenants_table.php Add Tenant model, controller, and migration; update Producto model to reference tenant_codigo 2026-06-19 11:34:10 -03:00
2026_06_18_140000_create_productos_table.php Add ProductController and Producto model with CRUD operations and migration 2026-06-18 10:13:03 -03:00
2026_06_19_000000_update_productos_tenant_reference_to_codigo.php Add Tenant model, controller, and migration; update Producto model to reference tenant_codigo 2026-06-19 11:34:10 -03:00
2026_06_23_000000_normalize_and_make_tenant_domains_unique.php Add BootstrapTenantController and requests for tenant domain normalization; implement API route and tests 2026-06-23 09:49:54 -03:00
2026_06_24_000000_create_categorias_table.php Refactor request validation to use model-specific prop synchronization and add migrations for categories and brands 2026-06-24 11:02:35 -03:00
2026_06_24_000100_create_brands_table.php Refactor request validation to use model-specific prop synchronization and add migrations for categories and brands 2026-06-24 11:02:35 -03:00
2026_06_24_000200_create_productos_variantes_table.php Add ProductVariant model and migration for productos_variantes table 2026-06-24 11:41:42 -03:00
2026_06_24_000250_create_tenant_props_table.php feat(tenant): reintroduce tenant-specific props and instance values 2026-06-24 14:50:58 -03:00
2026_06_24_000260_create_model_prop_values_table.php feat(tenant): reintroduce tenant-specific props and instance values 2026-06-24 14:50:58 -03:00