Loading code/GenDbStructure.php +4 −5 Original line number Diff line number Diff line Loading @@ -21,13 +21,12 @@ $dg = new \GenDbStructure\DdlGen($em); $ddl = ''; $ddl = $dg->getDdl(); echo "<pre>$ddl</pre>"; //$sCodeGenerator->generateToFile('ose-ddl.sql', $ddl); $de = new \GenDbStructure\DataGen($em); $data = $de->getDdlData(); echo "<pre>$data</pre>"; if (!isset($filename)) { $filename = false; } $sCodeGenerator->generateToFile('ose-ddl.sql', $ddl.$data); $sCodeGenerator->generateToFile($filename ?: 'ose-ddl.sql', $ddl.$data, (bool)$filename); composer.lock +67 −41 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], "content-hash": "27e72e14e28aba2da2023a75dbb8caf6", "content-hash": "8fcf364565552167bfe396556f0fee35", "packages": [ { "name": "bjyoungblood/bjy-authorize", Loading Loading @@ -1284,16 +1284,16 @@ }, { "name": "symfony/debug", "version": "v3.4.4", "version": "v3.4.6", "source": { "type": "git", "url": "https://github.com/symfony/debug.git", "reference": "53f6af2805daf52a43b393b93d2f24925d35c937" "reference": "9b1071f86e79e1999b3d3675d2e0e7684268b9bc" }, "dist": { "type": "zip", "url": "https://api.github.com/repos/symfony/debug/zipball/53f6af2805daf52a43b393b93d2f24925d35c937", "reference": "53f6af2805daf52a43b393b93d2f24925d35c937", "url": "https://api.github.com/repos/symfony/debug/zipball/9b1071f86e79e1999b3d3675d2e0e7684268b9bc", "reference": "9b1071f86e79e1999b3d3675d2e0e7684268b9bc", "shasum": "" }, "require": { Loading Loading @@ -1336,7 +1336,7 @@ ], "description": "Symfony Debug Component", "homepage": "https://symfony.com", "time": "2018-01-18T22:16:57+00:00" "time": "2018-02-28T21:49:22+00:00" }, { "name": "symfony/polyfill-mbstring", Loading Loading @@ -1399,16 +1399,16 @@ }, { "name": "symfony/process", "version": "v2.8.34", "version": "v2.8.36", "source": { "type": "git", "url": "https://github.com/symfony/process.git", "reference": "905efe90024caa75a2fc93f54e14b26f2a099d96" "reference": "756f614c5061729ea245ac6717231f7e3bfb74f9" }, "dist": { "type": "zip", "url": "https://api.github.com/repos/symfony/process/zipball/905efe90024caa75a2fc93f54e14b26f2a099d96", "reference": "905efe90024caa75a2fc93f54e14b26f2a099d96", "url": "https://api.github.com/repos/symfony/process/zipball/756f614c5061729ea245ac6717231f7e3bfb74f9", "reference": "756f614c5061729ea245ac6717231f7e3bfb74f9", "shasum": "" }, "require": { Loading Loading @@ -1444,7 +1444,7 @@ ], "description": "Symfony Process Component", "homepage": "https://symfony.com", "time": "2018-01-29T08:54:45+00:00" "time": "2018-02-12T17:44:58+00:00" }, { "name": "unicaen/app", Loading @@ -1452,7 +1452,7 @@ "source": { "type": "git", "url": "https://git.unicaen.fr/lib/unicaen/app.git", "reference": "c307b5fe0a36f8ffcc21c87410cef25cf2713af7" "reference": "d219814ed0bd7eb01e0b41136dd03950569a7f4c" }, "require": { "doctrine/doctrine-orm-module": ">=0.7", Loading Loading @@ -1495,7 +1495,7 @@ ] }, "description": "Module de base des applications unicaen", "time": "2018-03-01T13:25:09+00:00" "time": "2018-03-15T15:14:58+00:00" }, { "name": "unicaen/auth", Loading @@ -1503,7 +1503,7 @@ "source": { "type": "git", "url": "https://git.unicaen.fr/lib/unicaen/auth.git", "reference": "e491c9ce5776d1c6b3c7c974c7110f0518e405ab" "reference": "cb28b5103bc35cbc55cdb04a27680ded749031f9" }, "require": { "bjyoungblood/bjy-authorize": ">=1.4", Loading @@ -1525,7 +1525,7 @@ ] }, "description": "Module d'authentification pour les applications Unicaen", "time": "2018-03-01T13:26:32+00:00" "time": "2018-03-19T09:01:16+00:00" }, { "name": "unicaen/code", Loading @@ -1533,7 +1533,7 @@ "source": { "type": "git", "url": "https://git.unicaen.fr/lib/unicaen/code.git", "reference": "55eef92925bd233f0eb31701569cfd9002f7484b" "reference": "dde81b69ef731144104cb3a51344611ba93d2cf2" }, "require": { "doctrine/dbal": "^2.5", Loading @@ -1551,7 +1551,7 @@ ] }, "description": "Boite à outils pour la programmation avec la bibliothèque Unicaen", "time": "2018-03-01T13:27:35+00:00" "time": "2018-03-16T08:25:28+00:00" }, { "name": "unicaen/import", Loading Loading @@ -1581,26 +1581,6 @@ "description": "Module d'import de données vers une base Oracle", "time": "2018-02-27T14:35:23+00:00" }, { "name": "unicaen/open-document", "version": "dev-master", "source": { "type": "git", "url": "https://git.unicaen.fr/lib/unicaen/open-document.git", "reference": "bfc492c88e7e60b916348063308f67178b07ef47" }, "type": "library", "autoload": { "psr-4": { "Unicaen\\OpenDocument\\": "src/" }, "classmap": [ "./Module.php" ] }, "description": "Module Unicaen de traitement des fichiers au format OpenDocument", "time": "2018-03-01T14:53:17+00:00" }, { "name": "unicaen/oracle", "version": "1.1.2", Loading Loading @@ -1635,7 +1615,7 @@ "source": { "type": "git", "url": "https://git.unicaen.fr/lib/unicaen/tbl.git", "reference": "eebc66e459c0d1ae651601e2dd52738e60f19dbd" "reference": "b6e44ef6fb34563debc3c22d0dc32bf7d3daa98b" }, "require": { "unicaen/app": "^1.3 || dev-trunk" Loading @@ -1654,7 +1634,7 @@ ] }, "description": "Module Unicaen de gestion de tableaux de bord Oracle", "time": "2018-02-27T14:28:39+00:00" "time": "2018-03-02T10:27:16+00:00" }, { "name": "zendframework/zend-authentication", Loading Loading @@ -3503,6 +3483,53 @@ ], "time": "2015-07-21T13:55:46+00:00" }, { "name": "zendframework/zend-text", "version": "2.4.13", "source": { "type": "git", "url": "https://github.com/zendframework/zend-text.git", "reference": "bd2393fa1f88b719be033a07fdff23f5fa745ad5" }, "dist": { "type": "zip", "url": "https://api.github.com/repos/zendframework/zend-text/zipball/bd2393fa1f88b719be033a07fdff23f5fa745ad5", "reference": "bd2393fa1f88b719be033a07fdff23f5fa745ad5", "shasum": "" }, "require": { "php": ">=5.3.23", "zendframework/zend-servicemanager": "self.version", "zendframework/zend-stdlib": "self.version" }, "require-dev": { "fabpot/php-cs-fixer": "1.7.*", "phpunit/phpunit": "~4.0", "satooshi/php-coveralls": "dev-master" }, "type": "library", "extra": { "branch-alias": { "dev-master": "2.4-dev", "dev-develop": "2.5-dev" } }, "autoload": { "psr-4": { "Zend\\Text\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" ], "homepage": "https://github.com/zendframework/zend-text", "keywords": [ "text", "zf2" ], "time": "2015-05-07T14:55:31+00:00" }, { "name": "zendframework/zend-uri", "version": "2.4.13", Loading Loading @@ -3946,8 +3973,7 @@ "bjyoungblood/bjy-authorize": 20, "unicaen/code": 20, "unicaen/import": 20, "unicaen/tbl": 20, "unicaen/open-document": 20 "unicaen/tbl": 20 }, "prefer-stable": false, "prefer-lowest": false, Loading Loading
code/GenDbStructure.php +4 −5 Original line number Diff line number Diff line Loading @@ -21,13 +21,12 @@ $dg = new \GenDbStructure\DdlGen($em); $ddl = ''; $ddl = $dg->getDdl(); echo "<pre>$ddl</pre>"; //$sCodeGenerator->generateToFile('ose-ddl.sql', $ddl); $de = new \GenDbStructure\DataGen($em); $data = $de->getDdlData(); echo "<pre>$data</pre>"; if (!isset($filename)) { $filename = false; } $sCodeGenerator->generateToFile('ose-ddl.sql', $ddl.$data); $sCodeGenerator->generateToFile($filename ?: 'ose-ddl.sql', $ddl.$data, (bool)$filename);
composer.lock +67 −41 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], "content-hash": "27e72e14e28aba2da2023a75dbb8caf6", "content-hash": "8fcf364565552167bfe396556f0fee35", "packages": [ { "name": "bjyoungblood/bjy-authorize", Loading Loading @@ -1284,16 +1284,16 @@ }, { "name": "symfony/debug", "version": "v3.4.4", "version": "v3.4.6", "source": { "type": "git", "url": "https://github.com/symfony/debug.git", "reference": "53f6af2805daf52a43b393b93d2f24925d35c937" "reference": "9b1071f86e79e1999b3d3675d2e0e7684268b9bc" }, "dist": { "type": "zip", "url": "https://api.github.com/repos/symfony/debug/zipball/53f6af2805daf52a43b393b93d2f24925d35c937", "reference": "53f6af2805daf52a43b393b93d2f24925d35c937", "url": "https://api.github.com/repos/symfony/debug/zipball/9b1071f86e79e1999b3d3675d2e0e7684268b9bc", "reference": "9b1071f86e79e1999b3d3675d2e0e7684268b9bc", "shasum": "" }, "require": { Loading Loading @@ -1336,7 +1336,7 @@ ], "description": "Symfony Debug Component", "homepage": "https://symfony.com", "time": "2018-01-18T22:16:57+00:00" "time": "2018-02-28T21:49:22+00:00" }, { "name": "symfony/polyfill-mbstring", Loading Loading @@ -1399,16 +1399,16 @@ }, { "name": "symfony/process", "version": "v2.8.34", "version": "v2.8.36", "source": { "type": "git", "url": "https://github.com/symfony/process.git", "reference": "905efe90024caa75a2fc93f54e14b26f2a099d96" "reference": "756f614c5061729ea245ac6717231f7e3bfb74f9" }, "dist": { "type": "zip", "url": "https://api.github.com/repos/symfony/process/zipball/905efe90024caa75a2fc93f54e14b26f2a099d96", "reference": "905efe90024caa75a2fc93f54e14b26f2a099d96", "url": "https://api.github.com/repos/symfony/process/zipball/756f614c5061729ea245ac6717231f7e3bfb74f9", "reference": "756f614c5061729ea245ac6717231f7e3bfb74f9", "shasum": "" }, "require": { Loading Loading @@ -1444,7 +1444,7 @@ ], "description": "Symfony Process Component", "homepage": "https://symfony.com", "time": "2018-01-29T08:54:45+00:00" "time": "2018-02-12T17:44:58+00:00" }, { "name": "unicaen/app", Loading @@ -1452,7 +1452,7 @@ "source": { "type": "git", "url": "https://git.unicaen.fr/lib/unicaen/app.git", "reference": "c307b5fe0a36f8ffcc21c87410cef25cf2713af7" "reference": "d219814ed0bd7eb01e0b41136dd03950569a7f4c" }, "require": { "doctrine/doctrine-orm-module": ">=0.7", Loading Loading @@ -1495,7 +1495,7 @@ ] }, "description": "Module de base des applications unicaen", "time": "2018-03-01T13:25:09+00:00" "time": "2018-03-15T15:14:58+00:00" }, { "name": "unicaen/auth", Loading @@ -1503,7 +1503,7 @@ "source": { "type": "git", "url": "https://git.unicaen.fr/lib/unicaen/auth.git", "reference": "e491c9ce5776d1c6b3c7c974c7110f0518e405ab" "reference": "cb28b5103bc35cbc55cdb04a27680ded749031f9" }, "require": { "bjyoungblood/bjy-authorize": ">=1.4", Loading @@ -1525,7 +1525,7 @@ ] }, "description": "Module d'authentification pour les applications Unicaen", "time": "2018-03-01T13:26:32+00:00" "time": "2018-03-19T09:01:16+00:00" }, { "name": "unicaen/code", Loading @@ -1533,7 +1533,7 @@ "source": { "type": "git", "url": "https://git.unicaen.fr/lib/unicaen/code.git", "reference": "55eef92925bd233f0eb31701569cfd9002f7484b" "reference": "dde81b69ef731144104cb3a51344611ba93d2cf2" }, "require": { "doctrine/dbal": "^2.5", Loading @@ -1551,7 +1551,7 @@ ] }, "description": "Boite à outils pour la programmation avec la bibliothèque Unicaen", "time": "2018-03-01T13:27:35+00:00" "time": "2018-03-16T08:25:28+00:00" }, { "name": "unicaen/import", Loading Loading @@ -1581,26 +1581,6 @@ "description": "Module d'import de données vers une base Oracle", "time": "2018-02-27T14:35:23+00:00" }, { "name": "unicaen/open-document", "version": "dev-master", "source": { "type": "git", "url": "https://git.unicaen.fr/lib/unicaen/open-document.git", "reference": "bfc492c88e7e60b916348063308f67178b07ef47" }, "type": "library", "autoload": { "psr-4": { "Unicaen\\OpenDocument\\": "src/" }, "classmap": [ "./Module.php" ] }, "description": "Module Unicaen de traitement des fichiers au format OpenDocument", "time": "2018-03-01T14:53:17+00:00" }, { "name": "unicaen/oracle", "version": "1.1.2", Loading Loading @@ -1635,7 +1615,7 @@ "source": { "type": "git", "url": "https://git.unicaen.fr/lib/unicaen/tbl.git", "reference": "eebc66e459c0d1ae651601e2dd52738e60f19dbd" "reference": "b6e44ef6fb34563debc3c22d0dc32bf7d3daa98b" }, "require": { "unicaen/app": "^1.3 || dev-trunk" Loading @@ -1654,7 +1634,7 @@ ] }, "description": "Module Unicaen de gestion de tableaux de bord Oracle", "time": "2018-02-27T14:28:39+00:00" "time": "2018-03-02T10:27:16+00:00" }, { "name": "zendframework/zend-authentication", Loading Loading @@ -3503,6 +3483,53 @@ ], "time": "2015-07-21T13:55:46+00:00" }, { "name": "zendframework/zend-text", "version": "2.4.13", "source": { "type": "git", "url": "https://github.com/zendframework/zend-text.git", "reference": "bd2393fa1f88b719be033a07fdff23f5fa745ad5" }, "dist": { "type": "zip", "url": "https://api.github.com/repos/zendframework/zend-text/zipball/bd2393fa1f88b719be033a07fdff23f5fa745ad5", "reference": "bd2393fa1f88b719be033a07fdff23f5fa745ad5", "shasum": "" }, "require": { "php": ">=5.3.23", "zendframework/zend-servicemanager": "self.version", "zendframework/zend-stdlib": "self.version" }, "require-dev": { "fabpot/php-cs-fixer": "1.7.*", "phpunit/phpunit": "~4.0", "satooshi/php-coveralls": "dev-master" }, "type": "library", "extra": { "branch-alias": { "dev-master": "2.4-dev", "dev-develop": "2.5-dev" } }, "autoload": { "psr-4": { "Zend\\Text\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" ], "homepage": "https://github.com/zendframework/zend-text", "keywords": [ "text", "zf2" ], "time": "2015-05-07T14:55:31+00:00" }, { "name": "zendframework/zend-uri", "version": "2.4.13", Loading Loading @@ -3946,8 +3973,7 @@ "bjyoungblood/bjy-authorize": 20, "unicaen/code": 20, "unicaen/import": 20, "unicaen/tbl": 20, "unicaen/open-document": 20 "unicaen/tbl": 20 }, "prefer-stable": false, "prefer-lowest": false, Loading