new-bigly-chat/scripts/init.php

11 lines
197 B
PHP
Raw Normal View History

2024-11-26 11:38:28 -05:00
<?php
require("../libs/test_secret.php");
global $db;
$sql = file_get_contents('../scripts/init.sql', true);
$db->exec($sql);
echo "Database was set up.";
?>