<?php

class DATABASE_CONFIG
{
    public $default = [
        'datasource' => 'Database/Mysql',
        'persistent' => false,
        'host' => DATABASE_HOST,
        'username' => DATABASE_USER,
        'password' => DATABASE_PASSWORD,
        'database' => DATABASE_NAME,
        'prefix' => '',
        'settings' => [
            '@@SESSION.sql_mode' => "'NO_ENGINE_SUBSTITUTION'",
        ],
        'encoding' => 'utf8mb4',
    ];

    public $test = [
        'datasource' => 'Database/Mysql',
        'persistent' => false,
        'host' => 'localhost',
        'username' => 'user',
        'password' => 'password',
        'database' => 'test_database_name',
        'prefix' => '',
    ];

    public $stripe = [
        'datasource' => 'Stripe.StripeSource',
        'api_key' => STRIPE_API_KEY,
    ];
}