WIP: reduce abstraction #6

Closed
coolaj86 wants to merge 7 commits from cleanup into kid-fix
1 changed files with 8 additions and 12 deletions
Showing only changes of commit f8c78271c2 - Show all commits

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