-
-
Save JoeyBodnar/49947ea79c529db5c898328c698488c2 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.", | |
"//": "If null, preparations will not be run.", | |
"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, | |
"//": "If true, all queries made to the database will be logged.", | |
"log": false | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment