bigly-chat/scripts/init.php

11 lines
209 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.";
?>