Skip to content

Commit be8701b

Browse files
Merge pull request #108 from TheDragonCode/4.x-1
Project renamed from `Laravel Migration Actions` to `Laravel Actions`
2 parents e929911 + 57e8a07 commit be8701b

File tree

15 files changed

+53
-53
lines changed

15 files changed

+53
-53
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ body:
1414
attributes:
1515
label: Environment
1616
description: |
17-
Tip: Use the `composer info dragon-code/laravel-migration-actions` command to get information for Laravel Lang.
17+
Tip: Use the `composer info dragon-code/laravel-actions` command to get information for Laravel Lang.
1818
Tip: Use the `php artisan --version` command to get information for Laravel Framework.
1919
Tip: Use the `php -v` command to get information for PHP.
2020
value: |

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,18 @@ See the [documentation](https://actions.dragon-code.pro) for detailed installati
2020
This package is licensed under the [MIT License](LICENSE).
2121

2222

23-
[badge_build]: https://img.shields.io/github/actions/workflow/status/TheDragonCode/laravel-migration-actions/laravel.yml?style=flat-square
23+
[badge_build]: https://img.shields.io/github/actions/workflow/status/TheDragonCode/laravel-actions/laravel.yml?style=flat-square
2424

25-
[badge_downloads]: https://img.shields.io/packagist/dt/dragon-code/laravel-migration-actions.svg?style=flat-square
25+
[badge_downloads]: https://img.shields.io/packagist/dt/dragon-code/laravel-actions.svg?style=flat-square
2626

27-
[badge_license]: https://img.shields.io/packagist/l/dragon-code/laravel-migration-actions.svg?style=flat-square
27+
[badge_license]: https://img.shields.io/packagist/l/dragon-code/laravel-actions.svg?style=flat-square
2828

29-
[badge_stable]: https://img.shields.io/github/v/release/TheDragonCode/laravel-migration-actions?label=stable&style=flat-square
29+
[badge_stable]: https://img.shields.io/github/v/release/TheDragonCode/laravel-actions?label=stable&style=flat-square
3030

3131
[badge_unstable]: https://img.shields.io/badge/unstable-dev--main-orange?style=flat-square
3232

33-
[link_build]: https://github.com/TheDragonCode/laravel-migration-actions/actions
33+
[link_build]: https://github.com/TheDragonCode/laravel-actions/actions
3434

3535
[link_license]: LICENSE
3636

37-
[link_packagist]: https://packagist.org/packages/dragon-code/laravel-migration-actions
37+
[link_packagist]: https://packagist.org/packages/dragon-code/laravel-actions

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "dragon-code/laravel-migration-actions",
2+
"name": "dragon-code/laravel-actions",
33
"description": "Performing actions with saving the list of called files",
44
"license": "MIT",
55
"type": "library",
@@ -21,8 +21,8 @@
2121
}
2222
],
2323
"support": {
24-
"issues": "https://github.com/TheDragonCode/laravel-migration-actions/issues",
25-
"source": "https://github.com/TheDragonCode/laravel-migration-actions"
24+
"issues": "https://github.com/TheDragonCode/laravel-actions/issues",
25+
"source": "https://github.com/TheDragonCode/laravel-actions"
2626
},
2727
"funding": [
2828
{

config/actions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
|
2525
*/
2626

27-
'table' => 'migration_actions',
27+
'table' => 'deploy_actions',
2828

2929
/*
3030
|--------------------------------------------------------------------------
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

3-
use DragonCode\LaravelActions\Database\BaseChangeMigrationColumn;
3+
use DragonCode\LaravelActions\Database\BaseChangeColumn;
44

5-
return new class () extends BaseChangeMigrationColumn
5+
return new class () extends BaseChangeColumn
66
{
77
};
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

3-
use DragonCode\LaravelActions\Database\BaseChangeMigrationColumn;
3+
use DragonCode\LaravelActions\Database\BaseChangeColumn;
44

5-
class ChangeMigrationActionsTable extends BaseChangeMigrationColumn
5+
class ChangeMigrationActionsTable extends BaseChangeColumn
66
{
77
}

docs/.vuepress/config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ module.exports = {
2626

2727
logo: `https://${ hostname }/images/logo.svg`,
2828

29-
repo: 'https://github.com/TheDragonCode/laravel-migration-actions',
29+
repo: 'https://github.com/TheDragonCode/laravel-actions',
3030
repoLabel: 'GitHub',
31-
docsRepo: 'https://github.com/TheDragonCode/laravel-migration-actions',
31+
docsRepo: 'https://github.com/TheDragonCode/laravel-actions',
3232
docsBranch: 'main',
3333
docsDir: 'docs',
3434

docs/getting-started/installation/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
To get the latest version of Laravel Actions, simply require the project using [Composer](https://getcomposer.org):
44

55
```bash
6-
composer require dragon-code/laravel-migration-actions
6+
composer require dragon-code/laravel-actions
77
```
88

99
Or manually update `require` block of `composer.json` and run `composer update` console command.
1010

1111
```json
1212
{
1313
"require": {
14-
"dragon-code/laravel-migration-actions": "^3.0"
14+
"dragon-code/laravel-actions": "^3.0"
1515
}
1616
}
1717
```
@@ -41,5 +41,5 @@ $app->register(\DragonCode\LaravelActions\ServiceProvider::class);
4141
Next, you can copy the config file:
4242

4343
```bash
44-
cp vendor/dragon-code/laravel-migration-actions/config/actions.php config/actions.php
44+
cp vendor/dragon-code/laravel-actions/config/actions.php config/actions.php
4545
```

docs/how-to-use/rollback.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ You may roll back a limited number of actions by providing the `step` option to
1212
php artisan migrate:actions:rollback --step=5
1313
```
1414

15-
The `migrate:actions:reset` command will roll back all of your application's migrations:
15+
The `migrate:actions:reset` command will roll back all of your application's actions:
1616

1717
```
1818
php artisan migrate:actions:reset
@@ -48,15 +48,15 @@ php artisan migrate:actions:rollback --step=2
4848

4949
## Roll Back & Action Using A Single Command
5050

51-
The `migrate:actions:refresh` command will roll back all of your migrations and then execute the `migrate:actions` command. This command effectively re-creates your entire
51+
The `migrate:actions:refresh` command will roll back all of your actions and then execute the `migrate:actions` command. This command effectively re-creates your entire
5252
database:
5353

5454
```
5555
php artisan migrate:actions:refresh
5656
```
5757

58-
You may roll back & re-migrate a limited number of migrations by providing the `step` option to the `refresh` command. For example, the following command will roll back &
59-
re-migrate the last five migrations:
58+
You may roll back & re-migrate a limited number of actions by providing the `step` option to the `refresh` command. For example, the following command will roll back &
59+
re-migrate the last five actions:
6060

6161
```
6262
php artisan migrate:actions:refresh --step=5

docs/how-to-use/running.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ bar/2022_10_14_000003_test3 # 3
2424

2525
## Isolating Action Execution
2626

27-
If you are deploying your application across multiple servers and running migrations as part of your deployment process, you likely do not want two servers attempting to migrate
27+
If you are deploying your application across multiple servers and running actions as part of your deployment process, you likely do not want two servers attempting to migrate
2828
the database at the same time. To avoid this, you may use the `isolated` option when invoking the `migrate:actions` command.
2929

30-
When the `isolated` option is provided, Laravel will acquire an atomic lock using your application's cache driver before attempting to run your migrations. All other attempts to
30+
When the `isolated` option is provided, Laravel will acquire an atomic lock using your application's cache driver before attempting to run your actions. All other attempts to
3131
run the `migrate:actions` command while that lock is held will not execute; however, the command will still exit with a successful exit status code:
3232

3333
```bash
@@ -62,7 +62,7 @@ return new class extends Action
6262
};
6363
```
6464

65-
For example, you need to call actions when deploying an application. Some actions should be run after the migrations are deployed, and others after the application is fully
65+
For example, you need to call actions when deploying an application. Some actions should be run after the actions are deployed, and others after the application is fully
6666
launched.
6767

6868
To run, you need to pass the `before` parameter. For example, when using [`deployer`](https://github.com/deployphp/deployer) it would look like this:

0 commit comments

Comments
 (0)