added migration file and db connection

This commit is contained in:
2023-07-02 19:36:20 +09:00
parent 8f615db95a
commit 170e5d6de8
2 changed files with 11 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
<?php
require_once './db_connection.php';
$files = glob ('./migrations/*.sql');
foreach ($files as $file)
$__db_connection -> query (file_get_contents ($file));