diff options
-rw-r--r-- | idiorm.php | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -233,6 +233,7 @@ * @return ORM */ public static function for_table($table_name, $connection_name = self::DEFAULT_CONNECTION) { + self::_setup_db($connection_name); return new self($table_name, array(), $connection_name); } |