You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactored the role/permission assignments configuration to make it work independently of code-first mode. The assignments configuration is moved from mandate.code_first.assignments to mandate.assignments at the top level, and the --seed flag now works even when code-first is disabled.
6
+
7
+
### ⚠ BREAKING CHANGES
8
+
9
+
* use assignments to seed roles and permissions without code-fir… ([#29](https://github.com/offload-project/laravel-mandate/issues/29))
10
+
11
+
### Features
12
+
13
+
* use assignments to seed roles and permissions without code-fir… ([#29](https://github.com/offload-project/laravel-mandate/issues/29)) ([1330a65](https://github.com/offload-project/laravel-mandate/commit/1330a65f4fb7a016c21ca1bf30eff8f3d5a36270))
Consolidates the command interface by renaming file generation commands from mandate:make:* to mandate:* and merging database creation functionality into the same commands via a --db flag. This simplifies the command structure and provides a more intuitive API where the default behavior generates PHP classes (code-first approach) and the --db flag creates database records directly (database-first approach).
0 commit comments