-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
64 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
# Configuration | ||
|
||
As the [README](../../README.md) suggests, you can put the module into `postgres` (The default) or `mysql` mode, but only `postgres` works at this time. You can | ||
do this via standard SS config in your project's `mysite/_config/config.yml` file thus: | ||
As the [README](../../README.md) suggests you can put the module into `postgres` (The default) or `mysql` mode, but only `postgres` works at this time. You can | ||
do this via standard SS config in your project's `mysite/_config/config.yml` file: | ||
|
||
JSONText: | ||
backend: postgres | ||
|
||
|
||
Notes: | ||
|
||
* The module uses namespacing so take this into account when calling any part of the module's public API. | ||
* The module default is to use `postgres` which is also the only backend that will work at the moment. | ||
The module uses PSR-1 namespacing, so take this into account when calling any part of the module's public API in your own logic. | ||
The exception to the rule is that you can still use "JSONText" without the full namespace when declaring your model's `$db` static | ||
via the built-in magic of `Injector`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters