Last active
September 9, 2017 05:00
-
-
Save bennibau/70fdba9bb383a1b161655329a7c67f27 to your computer and use it in GitHub Desktop.
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
{ | |
"//": "The underlying database technology to use.", | |
"//": "memory: SQLite in-memory DB.", | |
"//": "sqlite: Persisted SQLite DB (configure with sqlite.json)", | |
"//": "Other drivers are available through Vapor providers", | |
"//": "https://github.com/search?q=topic:vapor-provider+topic:database", | |
"driver": "memory", | |
"//": "Naming convention to use for creating foreign id keys,", | |
"//": "e.g., `user_id`", | |
"//": "`camelCase` option is also available.", | |
"keyNamingConvention": "snake_case", | |
"//": "Name of the table Fluent uses to track migrations", | |
"migrationEntityName": "fluent", | |
"//": "Character used to join pivot tables, e.g., `user_pet`", | |
"pivotNameConnector": "_", | |
"//": "If true, foreign keys will automatically be added", | |
"//": "to any `builder.foreignId(...)` calls.", | |
"autoForeignKeys": true, | |
"//": "Key to specify page number for paginated responses", | |
"//": "e.g., `?page=2` ", | |
"defaultPageKey": "page", | |
"//": "Default page size if not otherwise specified on models", | |
"defaultPageSize": 10 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment