From fec605d1d88ad59bc64287ba8f44116efc04c03c Mon Sep 17 00:00:00 2001 From: brandonkelly Date: Sun, 29 Jan 2017 12:20:50 -0800 Subject: [PATCH] safeUp() --- en/plugin-migrations.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/plugin-migrations.md b/en/plugin-migrations.md index 86a79c0..0350d7b 100644 --- a/en/plugin-migrations.md +++ b/en/plugin-migrations.md @@ -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