From: Andrey Kutejko Date: Sat, 3 Aug 2013 07:53:55 +0000 (+0300) Subject: sync all models at once X-Git-Tag: 0.6~43 X-Git-Url: https://git.andy128k.dev/?a=commitdiff_plain;h=3dbf84487f18b2d09256676d4386bb9fa65ed5f2;p=ipf-legacy-orm.git sync all models at once --- diff --git a/ipf/orm.php b/ipf/orm.php index cdc1bef..00aef16 100644 --- a/ipf/orm.php +++ b/ipf/orm.php @@ -196,9 +196,9 @@ final class IPF_ORM return $models; } - public static function createTablesFromModels($app) + public static function createTablesFromModels($models) { - IPF_ORM_Manager::connection()->export->exportClasses($app->modelList()); + IPF_ORM_Manager::connection()->export->exportClasses($models); } public static function generateSqlFromModels($app)