Skip to content

Commit

Permalink
DOC Update docs to reflect changes in CLI interaction
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli committed Sep 10, 2024
1 parent cdda9bc commit 46b9f5e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion src/Store/DatabaseStore.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}

Expand Down

0 comments on commit 46b9f5e

Please sign in to comment.