mirror of
https://github.com/OPSnet/Gazelle.git
synced 2026-01-16 18:04:34 -05:00
move phinx migration directories (for faster tab completion)
This commit is contained in:
@@ -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">
|
||||
|
||||
@@ -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 [
|
||||
@@ -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
Reference in New Issue
Block a user