From f399d3383c29745955c0e31695ba330cc56dc041 Mon Sep 17 00:00:00 2001 From: Almira Krdzic Date: Mon, 30 Jul 2018 10:56:46 +0200 Subject: [PATCH] Update README --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e994486..038891d 100644 --- a/README.md +++ b/README.md @@ -218,8 +218,9 @@ Wiaas exposes WP CLI command which will execute pending db updates for wiaas: If your feature requires some database updates that can be easiliy executed from wordpress code, then: - 1) Place this update to `wiaas/includes/db-updates/wiaas-db-update-functions.php` as a function named `wiaas_db_update_{name} - 2) Add this function to `wiaas/includes/class-wiaas-db-update.php` with its timestamp. +1) Place this update to `wiaas/includes/db-updates/wiaas-db-update-functions.php` as a function named `wiaas_db_update_{name} + +2) Add this function to `wiaas/includes/class-wiaas-db-update.php` with its timestamp. This way after `composer update-db` is executed your database update will be applied. \ No newline at end of file