Create database.php

database class