-- Runs once on first MariaDB volume bootstrap.
-- Creates the testing database used by `php artisan test`.

CREATE DATABASE IF NOT EXISTS ezscale_billing_testing
    CHARACTER SET utf8mb4
    COLLATE utf8mb4_unicode_ci;

GRANT ALL PRIVILEGES ON ezscale_billing_testing.* TO 'ezscale'@'%';
FLUSH PRIVILEGES;
