bigly-chat/scripts/init.php
2025-05-03 13:39:43 -04:00

11 lines
181 B
PHP
Executable file

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