The interface Nuwave\Lighthouse\Suppor...tracts\DefinedDirective has been deprecated: The method definition() will be moved to
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-deprecated annotation
8
class MigrationAlterTableDirective extends BaseDirective implements /** @scrutinizer ignore-deprecated */ DefinedDirective
This interface has been deprecated. The supplier of the interface has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the interface will be
removed and what other interface to use instead.
Loading history...
9
{
10
8
public static function definition(): string
11
{
12
return /** @lang GraphQL */ <<<'SDL'
13
8
"""
14
Alters a table on migration after it was created.
15
"""
16
directive @migrationAlterTable(
17
"""
18
The commands to run, which will be prepended with 'ALTER TABLE tablename"
This interface has been deprecated. The supplier of the interface has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the interface will be removed and what other interface to use instead.