This commit is contained in:
2021-02-25 18:06:41 +08:00
parent 3c4a30473a
commit 85c6b53004
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -163,7 +163,7 @@ class ActiveRecord extends BaseActiveRecord
if (is_bool($create)) {
return false;
}
return static::getDb()->createCommand($create)->exec();
return static::getDb()->createCommand($create[0], $create[1])->exec();
}