diff --git a/example/CatalogsTenantModel.php b/example/CatalogsTenantModel.php new file mode 100644 index 0000000..6135244 --- /dev/null +++ b/example/CatalogsTenantModel.php @@ -0,0 +1,29 @@ + $model->createCatalogs()); + } + + public function createCatalogs() + { + if (self::$catalog === null) { + self::$catalog = new Catalog('localhost', 3306, 'root', 'rootPassword'); + } + + self::$catalog->create('test01'); + } +} \ No newline at end of file