<?php

return [
    'type' => 'mysql',
    'hostname' => getenv('POC_HOST'),
    'hostport' => (int)getenv('POC_PORT'),
    'database' => getenv('POC_SCHEMA'),
    'username' => getenv('POC_USER'),
    'password' => getenv('POC_PASSWORD'),
    'charset' => getenv('POC_CHARSET') ?: 'utf8',
    'prefix' => 'ydy_',
    'debug' => false,
    'params' => [],
    'resultset_type' => 'array',
    'fields_strict' => true,
    'auto_timestamp' => false,
    'ai_zhct' => [
        'hostname' => getenv('POC_AI_HOST'),
        'hostport' => (int)getenv('POC_AI_PORT'),
        'database' => getenv('POC_AI_SCHEMA'),
        'username' => getenv('POC_AI_USER'),
        'password' => getenv('POC_AI_PASSWORD'),
        'prefix' => 'yoshop_',
    ],
];
