move phinx migration directories (for faster tab completion)

This commit is contained in:
Spine
2025-04-22 03:07:06 +00:00
parent 4863dd833e
commit c7780203ac
335 changed files with 26 additions and 17 deletions

View File

@@ -41,8 +41,8 @@
<rule ref="PSR1.Classes.ClassDeclaration.MissingNamespace">
<exclude-pattern>classes/*</exclude-pattern>
<exclude-pattern>misc/phinx/*</exclude-pattern>
<exclude-pattern>misc/phinx-pg/*</exclude-pattern>
<exclude-pattern>misc/my-migrations/*</exclude-pattern>
<exclude-pattern>misc/pg-migrations/*</exclude-pattern>
</rule>
<rule ref="Generic.PHP.ForbiddenFunctions">

View File

@@ -31,6 +31,7 @@ use Phinx\Migration\AbstractMigration;
*/
class IndexRefactor extends AbstractMigration {
/** @phpstan-ignore missingType.iterableValue */
protected function modifyColumn(): array {
return [
[
@@ -266,6 +267,7 @@ class IndexRefactor extends AbstractMigration {
];
}
/** @phpstan-ignore missingType.iterableValue */
protected function modifyTable(): array {
return [
[
@@ -517,6 +519,9 @@ class IndexRefactor extends AbstractMigration {
];
}
/**
* @return array<string>
*/
protected function engineChange(): array {
/* change from MyISAM to InnoDB */
return [

View File

@@ -3,6 +3,9 @@
use Phinx\Migration\AbstractMigration;
class NoZerodateTorrentFlag extends AbstractMigration {
/**
* @return array<string>
*/
protected function torrentTables(): array {
return explode(" ", "torrents_bad_files torrents_bad_tags torrents_cassette_approved torrents_lossymaster_approved torrents_lossyweb_approved torrents_missing_lineage");
}

Some files were not shown because too many files have changed in this diff Show More