Browse Source
Add creator relation on created model
Add creator relation on created model
Add creator_id on model table migration file Update controller to add auth()->id() as model creatortags/1.0.1^0 1.0.1
15 changed files with 125 additions and 19 deletions
-
10src/Generators/ModelFactoryGenerator.php
-
10src/Generators/ModelGenerator.php
-
14src/Generators/ModelTestGenerator.php
-
5src/stubs/controller.full.stub
-
5src/stubs/controller.simple.stub
-
1src/stubs/migration-create.stub
-
4src/stubs/model-factory.stub
-
8src/stubs/model.stub
-
12src/stubs/test-unit.stub
-
15tests/Generators/FullControllerGeneratorTest.php
-
1tests/Generators/MigrationGeneratorTest.php
-
4tests/Generators/ModelFactoryGeneratorTest.php
-
16tests/Generators/ModelGeneratorTest.php
-
24tests/Generators/ModelTestGeneratorTest.php
-
15tests/Generators/Simple/SimpleControllerGeneratorTest.php
Write
Preview
Loading…
Cancel
Save
Reference in new issue