Skip to content
This repository has been archived by the owner on Aug 9, 2022. It is now read-only.

Is it possible to create one crud using multiple tables that automatically build In relations #110

Open
phillipmadsen opened this issue Sep 25, 2015 · 0 comments

Comments

@phillipmadsen
Copy link
Contributor

such as

php artisan mitul.generator:scaffold_api User --fieldsFile="user.json" --rememberToken Role --fieldsFile="roles.json" Permission   --fieldsFile="permissions.json"  :pivot: Role, User, Permission --softDelete --paginate=25
  1. php artisan mitul.generator:scaffold_api
  2. User --fieldsFile="user.json" --rememberToken
  3. Role --fieldsFile="roles.json"
  4. Permission Permission --fieldsFile="permissions.json"
  5. Permission --fieldsFile="permissions.json"
  6. :pivot: Role, User, Permission
  7. then add softdelets and paginate them all

This creates one file output for say users not all three because you do not need all three they are all part of the same one.

Just wondering

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant