Skip to content

Commit

Permalink
Merge pull request #113 from creative-commoners/pulls/4/symfony-sake
Browse files Browse the repository at this point in the history
DOC Update docs to reflect changes in CLI interaction
  • Loading branch information
emteknetnz authored Sep 26, 2024
2 parents 367c906 + 7516a54 commit c7efcfe
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 c7efcfe

Please sign in to comment.