bigly-chat/scripts/init.php
2025-02-05 01:27:45 -05:00

11 lines
171 B
PHP
Executable file

<?php
require(__DIR__ . "/../libs/test_secret.php");
global $db;
$sql = file_get_contents('../scripts/init.sql', true);
$db->exec($sql);
echo "Database was set up.";