Initial commit
This commit is contained in:
11
docs/databases/mariadb.md
Normal file
11
docs/databases/mariadb.md
Normal file
@@ -0,0 +1,11 @@
|
||||
## How to use Peatio with MariaDB
|
||||
|
||||
Peatio supports MariaDB 10.2.7 and upper.
|
||||
|
||||
MariaDB json types are not well supported by Rails, to make the application work properly you need to enable explicit serialization and deserialization of JSON fields.
|
||||
|
||||
To do so, set the following environment variable:
|
||||
|
||||
```bash
|
||||
export DATABASE_SUPPORT_JSON=false
|
||||
```
|
||||
9
docs/databases/postgresql.md
Normal file
9
docs/databases/postgresql.md
Normal file
@@ -0,0 +1,9 @@
|
||||
## How to use Peatio with PostgreSQL
|
||||
|
||||
Export the following variables:
|
||||
|
||||
```bash
|
||||
export DATABASE_ADAPTER="postgresql"
|
||||
export DATABASE_PORT="5432"
|
||||
export DATABASE_COLLATION=""
|
||||
```
|
||||
Reference in New Issue
Block a user