Skip to content

Instantly share code, notes, and snippets.

@JoeyBodnar JoeyBodnar/fluent.json Secret
Created Nov 5, 2017

What would you like to do?
"//": "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",
"//": "",
"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
You can’t perform that action at this time.