makeomatic/mservice

View on GitHub
packages/plugin-knex/schemas/knex.json

Summary

Maintainability
Test Coverage
{
    "$id": "knex",
    "type": "object",
    "required": [
        "client",
        "debug"
    ],
    "properties": {
        "client": {
            "type": "string",
            "enum": [
                "pg",
                "mysql",
                "sqlite3"
            ]
        },
        "debug": {
            "type": "boolean",
            "default": false
        },
        "migrations": {
            "additionalProperties": false,
            "type": "object",
            "properties": {
                "tableName": {
                    "type": "string"
                },
                "directory": {
                    "type": "string"
                },
                "extension": {
                    "type": "string"
                },
                "disableTransactions": {
                    "type": "boolean"
                }
            }
        },
        "seeds": {
            "additionalProperties": false,
            "type": "object",
            "properties": {
                "directory": {
                    "type": "string"
                }
            }
        }
    }
}