We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a651f8d commit 41bb590Copy full SHA for 41bb590
README.md
@@ -27,7 +27,17 @@ Review and update the default configuration according to your use case (see Usag
27
28
## Usage
29
30
-Explain how to use your package.
+1. Create migrations to obtain your current database structure;
31
+2. Configure `last_migration_for_upgrade` to points to the last migration that represent your current database structure;
32
+3. Optionally, you can add migrations to update your old structure;
33
+4. Run the `php artisan db:upgrade` command.
34
+
35
+The `db:upgrade` command will perform the following actions:
36
37
+1. Backup your data;
38
+2. Run your migrations up to the `last_migration_for_upgrade` migration;
39
+3. Restore your data;
40
+4. Run remaining migration.
41
42
## Testing
43
0 commit comments