Upgrade Notes
Configuration Changes
php artisan vendor:publish --provider="Daycode\Sketch\SketchServiceProvider" --forceYAML Schema Changes
Relationships Definition
relationships:
- {
type: belongsToMany,
model: Role,
pivotTable: user_roles,
pivotTableKeyType: uuid,
foreignPivot: {
table: users,
key: user_id,
type: uuid,
references: id
},
relatedPivot: {
table: roles,
key: role_id,
type: id,
references: id
},
pivotColumns: [
{ name: expires_at, type: timestamp, nullable: true },
{ name: active, type: boolean, nullable: false }
],
withTimestamps: true
}Regular Relationships
Directory Structure Changes
Command Changes
Migration Steps
Important Notes
Last updated