-- Create test database for Dusk E2E tests
CREATE DATABASE IF NOT EXISTS dishplanner_test;

-- Grant all privileges on test database to the dishplanner user
GRANT ALL PRIVILEGES ON dishplanner_test.* TO 'dishplanner'@'%' IDENTIFIED BY 'dishplanner';
GRANT ALL PRIVILEGES ON dishplanner_test.* TO 'dishplanner'@'localhost' IDENTIFIED BY 'dishplanner';

FLUSH PRIVILEGES;