facturation/upgrade.php
2019-11-02 16:53:27 +00:00

9 lines
167 B
PHP

<?php
namespace Garradin;
$db = DB::getInstance(true);
$db->exec('BEGIN;');
$db->exec(file_get_contents(dirname(__FILE__) . "/data/schema.sql"));
$db->exec('END;');