facturation/upgrade.php

9 lines
167 B
PHP
Raw Normal View History

2019-11-02 17:53:27 +01:00
<?php
namespace Garradin;
$db = DB::getInstance(true);
$db->exec('BEGIN;');
$db->exec(file_get_contents(dirname(__FILE__) . "/data/schema.sql"));
$db->exec('END;');