Skip to content

Commit

Permalink
safeUp()
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonkelly committed Jan 29, 2017
1 parent 666d3cb commit fec605d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion en/plugin-migrations.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Then run the following command to generate a new migration file for your plugin
Enter `yes` at the prompt, and a new migration file will be created in a `migrations/` subfolder within your plugin’s source directory.

The migration file contains a class with two methods: `safeUp()` and `saveDown()`. `safeUp()` is where you should put the main migration code. If you want to make it possible to revert your migration, `safeDown()` is where the reversion code goes.
The migration file contains a class with two methods: `safeUp()` and `safeDown()`. `safeUp()` is where you should put the main migration code. If you want to make it possible to revert your migration, `safeDown()` is where the reversion code goes.

### Logging

Expand Down

0 comments on commit fec605d

Please sign in to comment.