Skip to content

Commit 78cdafc

Browse files
committed
select() expects array|string
1 parent 408c83b commit 78cdafc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Schema/Builder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ public function register_custom_tables_names() {
264264
*/
265265
public function up( $force = false ) {
266266
try {
267-
$this->db::table( 'posts' )->select ( 1 )->limit( 1 )->get();
267+
$this->db::table( 'posts' )->select( '1' )->limit( 1 )->get();
268268
} catch ( \Exception $e ) {
269269
// Let's not try to create the tables on a blog that's missing the basic ones.
270270
return [];

0 commit comments

Comments
 (0)