Skip to content
Snippets Groups Projects
Commit edea2c8f authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

MAJ test

parent c242efa6
No related branches found
No related tags found
No related merge requests found
...@@ -3,5 +3,16 @@ ...@@ -3,5 +3,16 @@
$bdd = new \BddAdmin\Bdd(Config::get('bdds', 'dev-local')); $bdd = new \BddAdmin\Bdd(Config::get('bdds', 'dev-local'));
$schema = new \BddAdmin\Schema($bdd); $schema = new \BddAdmin\Schema($bdd);
$bdd2 = new \BddAdmin\Bdd(Config::get('bdds', 'dev-local'));
//$oa->migration('post', 'FormuleTestStructureToString');
//include $oa->getOseDir().'public/index.php'; \BddAdmin\Event\EventManager::getMain()->listen(null, null, function ($event) {
\ No newline at end of file var_dump(get_class($event->sender), $event->action, $event->data);
//$event->setReturn('no-exec', true);
});
//$r = $bdd->select('select * from annee');
$views = $schema->getDdlObject(\BddAdmin\Ddl\DdlView::class);
$views->create(['name' => 'test', 'definition' => 'CREATE OR REPLACE VIEW test AS SELECT * FROM type_intervention']);
$views->execQueries();
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment