Skip to content

Commit b1f2f71

Browse files
Removed operations:refresh and operations:reset console commands
1 parent 37dbdd6 commit b1f2f71

File tree

10 files changed

+0
-237
lines changed

10 files changed

+0
-237
lines changed

docs/topics/rolling-back-operations.topic

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -31,45 +31,12 @@
3131
%artisan% %command_rollback% --step=5
3232
</code-block>
3333

34-
<p>
35-
The <code>%command_reset%</code> command will roll back all of your application's operations:
36-
</p>
37-
38-
<code-block lang="bash">
39-
%artisan% %command_reset%
40-
</code-block>
41-
4234
<p>
4335
For example:
4436
</p>
4537

4638
<code-block lang="bash" src="rollback.sh" />
4739

48-
<chapter
49-
title="Roll Back &amp; Operation Using A Single Command"
50-
id="roll_back_amp_operation_using_a_single_command"
51-
>
52-
<p>
53-
The
54-
<code>%command_refresh%</code> command will roll back all of your operations and then execute the operations command.
55-
This command effectively re-creates your entire database:
56-
</p>
57-
58-
<code-block lang="bash">
59-
%artisan% %command_refresh%
60-
</code-block>
61-
62-
<p>
63-
You may roll back and re-run a limited number of operations by providing the <code>step</code> option to the
64-
<code>%command_refresh%</code> command.
65-
For example, the following command will roll back and re-run the last five operations:
66-
</p>
67-
68-
<code-block lang="bash">
69-
%artisan% %command_refresh% --step=5
70-
</code-block>
71-
</chapter>
72-
7340
<chapter title="Drop All &amp; Rerun Operations" id="drop_all_amp_rerun_operations">
7441
<p>
7542
The

docs/v.list

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88

99
<var name="command_make" value="make:operation" />
1010
<var name="command_run" value="operations" />
11-
<var name="command_refresh" value="operations:refresh" />
12-
<var name="command_reset" value="operations:reset" />
1311
<var name="command_fresh" value="operations:fresh" />
1412
<var name="command_rollback" value="operations:rollback" />
1513
<var name="command_status" value="operations:status" />

src/Console/RefreshCommand.php

Lines changed: 0 additions & 28 deletions
This file was deleted.

src/Console/ResetCommand.php

Lines changed: 0 additions & 28 deletions
This file was deleted.

src/Constants/Names.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ class Names
1010
public const Fresh = 'operations:fresh';
1111
public const Install = 'operations:install';
1212
public const Make = 'make:operation';
13-
public const Refresh = 'operations:refresh';
14-
public const Reset = 'operations:reset';
1513
public const Rollback = 'operations:rollback';
1614
public const Status = 'operations:status';
1715
}

src/Processors/RefreshProcessor.php

Lines changed: 0 additions & 39 deletions
This file was deleted.

src/Processors/ResetProcessor.php

Lines changed: 0 additions & 36 deletions
This file was deleted.

src/ServiceProvider.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@ protected function registerCommands(): void
4444
Console\FreshCommand::class,
4545
Console\InstallCommand::class,
4646
Console\MakeCommand::class,
47-
Console\RefreshCommand::class,
48-
Console\ResetCommand::class,
4947
Console\RollbackCommand::class,
5048
Console\StatusCommand::class,
5149
]);

tests/Commands/RefreshTest.php

Lines changed: 0 additions & 33 deletions
This file was deleted.

tests/Commands/ResetTest.php

Lines changed: 0 additions & 34 deletions
This file was deleted.

0 commit comments

Comments
 (0)