From 7516a54d1c6600802be3b04c3088d9896c237d2a Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Tue, 10 Sep 2024 13:09:46 +1200 Subject: [PATCH] DOC Update docs to reflect changes in CLI interaction --- README.md | 2 +- src/Store/DatabaseStore.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 947216a..a3b9506 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ composer require silverstripe/hybridsessions ## Setup -* `/dev/build?flush=all` to setup the necessary tables +* `sake db:build --flush` to setup the necessary tables * In order to initiate the session handler is is necessary to add a snippet of code to your `_config.php` file, along with a private key used to encrypt user cookies. diff --git a/src/Store/DatabaseStore.php b/src/Store/DatabaseStore.php index 37aec55..5322f6f 100644 --- a/src/Store/DatabaseStore.php +++ b/src/Store/DatabaseStore.php @@ -36,7 +36,7 @@ protected function isDatabaseReady(): bool throw new Exception('HybridSessions\Store\DatabaseStore currently only works with MySQL databases'); } - // Prevent freakout during dev/build + // Prevent freakout while building the db return ClassInfo::hasTable('HybridSessionDataObject'); }