Skip to content

Commit ad89275

Browse files
author
Luca Critelli
committed
fix: laravel 12 compatibility
1 parent 4bad003 commit ad89275

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

.claude/settings.local.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"permissions": {
3+
"allow": [
4+
"Bash(test:*)",
5+
"Bash(composer install:*)",
6+
"Bash(vendor/bin/pest:*)",
7+
"Bash(composer show:*)",
8+
"Bash(php -r:*)",
9+
"Bash(git stash:*)",
10+
"Bash(git checkout:*)",
11+
"WebSearch",
12+
"WebFetch(domain:github.com)"
13+
],
14+
"deny": [],
15+
"ask": []
16+
}
17+
}

src/Schema/CockroachDbGrammar.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@ class CockroachDbGrammar extends PostgresGrammar
1616
* https://github.com/cockroachdb/cockroach/issues/20712
1717
* https://github.com/cockroachdb/cockroach/pull/59604
1818
*
19+
* @param string|null $schema
1920
* @return string
2021
*/
21-
public function compileTables()
22+
public function compileTables($schema = null)
2223
{
2324
return 'select c.relname as name, n.nspname as schema, -1 as size, '
2425
. 'obj_description(c.oid, \'pg_class\') as comment from pg_class c, pg_namespace n '

0 commit comments

Comments
 (0)