This commit is contained in:
AJ ONeal 2019-05-09 01:11:10 -06:00
parent 5cf90c1109
commit f8c78271c2
1 changed files with 8 additions and 12 deletions

View File

@ -28,12 +28,7 @@ Greenlock.create({
## Configuration
* SQLite3 (default)
* Database URLs / Connection Strings
* Environment variables
* Table Prefixes
### SQLite3 (default)
<details><summary>SQLite3 (default)</summary>
SQLite3 is the default database, however, since it has a large number of dependencies
and may require a native module to be built, you must explicitly install
@ -61,9 +56,9 @@ Greenlock.create({
...
});
```
</details>
### Database URL Connection String
<details><summary>Database URLs / Connection Strings</summary>
You may use database URLs (also known as 'connection strings') to initialize sequelize:
```js
@ -88,9 +83,9 @@ Greenlock.create({
```
For more information, see the [Sequelize Getting Started](http://docs.sequelizejs.com/manual/getting-started.html) docs.
</details>
### ENVs (i.e. for Docker, Heroku, Akkeris)
<details><summary>Environment variables (AWS, Docker, Heroku, Akkeris)</summary>
If your database connection string is in an environment variable,
you would use the usual standard for your platform.
@ -107,9 +102,9 @@ Greenlock.create({
...
});
```
</details>
### Table Prefixes
<details><summary>Table Prefixes</summary>
The default table names are as follows:
* Keypair
@ -137,6 +132,7 @@ Greenlock.create({
...
});
```
</details>
## Table Structure