Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ error.log
/tests/test_app/config/TestsMigrations/schema-dump-test.lock
/tests/test_app/Plugin/TestBlog/config/Migrations/*
.phpunit.cache
.ddev

# IDE and editor specific files #
#################################
Expand Down
2 changes: 2 additions & 0 deletions templates/bake/config/diff.twig
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ class {{ name }} extends AbstractMigration
{% else %}
* https://book.cakephp.org/phinx/0/en/migrations.html#the-up-method
{% endif %}
*
* @return void
*/
public function up(): void
Expand Down Expand Up @@ -128,6 +129,7 @@ not empty %}
*
* More information on this method is available here:
* https://book.cakephp.org/phinx/0/en/migrations.html#the-down-method
*
* @return void
*/
public function down(): void
Expand Down
1 change: 1 addition & 0 deletions templates/bake/config/skeleton.twig
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ class {{ name }} extends AbstractMigration
{% else %}
* https://book.cakephp.org/phinx/0/en/migrations.html#the-change-method
{% endif %}
*
* @return void
*/
public function change(): void
Expand Down
2 changes: 2 additions & 0 deletions templates/bake/config/snapshot.twig
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ class {{ name }} extends AbstractMigration
*
* More information on this method is available here:
* https://book.cakephp.org/phinx/0/en/migrations.html#the-up-method
*
* @return void
*/
public function up(): void
Expand All @@ -58,6 +59,7 @@ class {{ name }} extends AbstractMigration
*
* More information on this method is available here:
* https://book.cakephp.org/phinx/0/en/migrations.html#the-down-method
*
* @return void
*/
public function down(): void
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ class TheDiffAddRemoveMysql extends BaseMigration
*
* More information on this method is available here:
* https://book.cakephp.org/migrations/4/en/migrations.html#the-up-method
*
* @return void
*/
public function up(): void
Expand Down Expand Up @@ -42,6 +43,7 @@ public function up(): void
*
* More information on this method is available here:
* https://book.cakephp.org/phinx/0/en/migrations.html#the-down-method
*
* @return void
*/
public function down(): void
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ class TheDiffAddRemovePgsql extends AbstractMigration
*
* More information on this method is available here:
* https://book.cakephp.org/phinx/0/en/migrations.html#the-up-method
*
* @return void
*/
public function up(): void
Expand All @@ -33,6 +34,7 @@ public function up(): void
*
* More information on this method is available here:
* https://book.cakephp.org/phinx/0/en/migrations.html#the-down-method
*
* @return void
*/
public function down(): void
Expand Down
2 changes: 2 additions & 0 deletions tests/comparisons/Diff/default/the_diff_default_mysql.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ class TheDiffDefaultMysql extends BaseMigration
*
* More information on this method is available here:
* https://book.cakephp.org/migrations/4/en/migrations.html#the-up-method
*
* @return void
*/
public function up(): void
Expand Down Expand Up @@ -147,6 +148,7 @@ public function up(): void
*
* More information on this method is available here:
* https://book.cakephp.org/phinx/0/en/migrations.html#the-down-method
*
* @return void
*/
public function down(): void
Expand Down
2 changes: 2 additions & 0 deletions tests/comparisons/Diff/default/the_diff_default_pgsql.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ class TheDiffDefaultPgsql extends AbstractMigration
*
* More information on this method is available here:
* https://book.cakephp.org/phinx/0/en/migrations.html#the-up-method
*
* @return void
*/
public function up(): void
Expand Down Expand Up @@ -126,6 +127,7 @@ public function up(): void
*
* More information on this method is available here:
* https://book.cakephp.org/phinx/0/en/migrations.html#the-down-method
*
* @return void
*/
public function down(): void
Expand Down
2 changes: 2 additions & 0 deletions tests/comparisons/Diff/simple/the_diff_simple_mysql.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ class TheDiffSimpleMysql extends BaseMigration
*
* More information on this method is available here:
* https://book.cakephp.org/migrations/4/en/migrations.html#the-up-method
*
* @return void
*/
public function up(): void
Expand Down Expand Up @@ -74,6 +75,7 @@ public function up(): void
*
* More information on this method is available here:
* https://book.cakephp.org/phinx/0/en/migrations.html#the-down-method
*
* @return void
*/
public function down(): void
Expand Down
2 changes: 2 additions & 0 deletions tests/comparisons/Diff/simple/the_diff_simple_pgsql.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ class TheDiffSimplePgsql extends AbstractMigration
*
* More information on this method is available here:
* https://book.cakephp.org/phinx/0/en/migrations.html#the-up-method
*
* @return void
*/
public function up(): void
Expand Down Expand Up @@ -62,6 +63,7 @@ public function up(): void
*
* More information on this method is available here:
* https://book.cakephp.org/phinx/0/en/migrations.html#the-down-method
*
* @return void
*/
public function down(): void
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ class TheDiffWithAutoIdCompatibleSignedPrimaryKeysMysql extends BaseMigration
*
* More information on this method is available here:
* https://book.cakephp.org/migrations/4/en/migrations.html#the-up-method
*
* @return void
*/
public function up(): void
Expand All @@ -25,6 +26,7 @@ public function up(): void
*
* More information on this method is available here:
* https://book.cakephp.org/phinx/0/en/migrations.html#the-down-method
*
* @return void
*/
public function down(): void
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ class TheDiffWithAutoIdIncompatibleSignedPrimaryKeysMysql extends BaseMigration
*
* More information on this method is available here:
* https://book.cakephp.org/migrations/4/en/migrations.html#the-up-method
*
* @return void
*/
public function up(): void
Expand All @@ -35,6 +36,7 @@ public function up(): void
*
* More information on this method is available here:
* https://book.cakephp.org/phinx/0/en/migrations.html#the-down-method
*
* @return void
*/
public function down(): void
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ class TheDiffWithAutoIdIncompatibleUnsignedPrimaryKeysMysql extends BaseMigratio
*
* More information on this method is available here:
* https://book.cakephp.org/migrations/4/en/migrations.html#the-up-method
*
* @return void
*/
public function up(): void
Expand All @@ -35,6 +36,7 @@ public function up(): void
*
* More information on this method is available here:
* https://book.cakephp.org/phinx/0/en/migrations.html#the-down-method
*
* @return void
*/
public function down(): void
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ class TestSnapshotAutoIdDisabledPgsql extends BaseMigration
*
* More information on this method is available here:
* https://book.cakephp.org/phinx/0/en/migrations.html#the-up-method
*
* @return void
*/
public function up(): void
Expand Down Expand Up @@ -409,6 +410,7 @@ public function up(): void
*
* More information on this method is available here:
* https://book.cakephp.org/phinx/0/en/migrations.html#the-down-method
*
* @return void
*/
public function down(): void
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ class TestSnapshotNotEmptyPgsql extends BaseMigration
*
* More information on this method is available here:
* https://book.cakephp.org/phinx/0/en/migrations.html#the-up-method
*
* @return void
*/
public function up(): void
Expand Down Expand Up @@ -349,6 +350,7 @@ public function up(): void
*
* More information on this method is available here:
* https://book.cakephp.org/phinx/0/en/migrations.html#the-down-method
*
* @return void
*/
public function down(): void
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ class TestSnapshotPluginBlogPgsql extends BaseMigration
*
* More information on this method is available here:
* https://book.cakephp.org/phinx/0/en/migrations.html#the-up-method
*
* @return void
*/
public function up(): void
Expand Down Expand Up @@ -133,6 +134,7 @@ public function up(): void
*
* More information on this method is available here:
* https://book.cakephp.org/phinx/0/en/migrations.html#the-down-method
*
* @return void
*/
public function down(): void
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ class TestSnapshotAutoIdDisabledSqlite extends BaseMigration
*
* More information on this method is available here:
* https://book.cakephp.org/phinx/0/en/migrations.html#the-up-method
*
* @return void
*/
public function up(): void
Expand Down Expand Up @@ -390,6 +391,7 @@ public function up(): void
*
* More information on this method is available here:
* https://book.cakephp.org/phinx/0/en/migrations.html#the-down-method
*
* @return void
*/
public function down(): void
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ class TestSnapshotNotEmptySqlite extends BaseMigration
*
* More information on this method is available here:
* https://book.cakephp.org/phinx/0/en/migrations.html#the-up-method
*
* @return void
*/
public function up(): void
Expand Down Expand Up @@ -330,6 +331,7 @@ public function up(): void
*
* More information on this method is available here:
* https://book.cakephp.org/phinx/0/en/migrations.html#the-down-method
*
* @return void
*/
public function down(): void
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ class TestSnapshotPluginBlogSqlite extends BaseMigration
*
* More information on this method is available here:
* https://book.cakephp.org/phinx/0/en/migrations.html#the-up-method
*
* @return void
*/
public function up(): void
Expand Down Expand Up @@ -124,6 +125,7 @@ public function up(): void
*
* More information on this method is available here:
* https://book.cakephp.org/phinx/0/en/migrations.html#the-down-method
*
* @return void
*/
public function down(): void
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ class TestSnapshotAutoIdDisabledSqlserver extends BaseMigration
*
* More information on this method is available here:
* https://book.cakephp.org/phinx/0/en/migrations.html#the-up-method
*
* @return void
*/
public function up(): void
Expand Down Expand Up @@ -425,6 +426,7 @@ public function up(): void
*
* More information on this method is available here:
* https://book.cakephp.org/phinx/0/en/migrations.html#the-down-method
*
* @return void
*/
public function down(): void
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ class TestSnapshotNotEmptySqlserver extends BaseMigration
*
* More information on this method is available here:
* https://book.cakephp.org/phinx/0/en/migrations.html#the-up-method
*
* @return void
*/
public function up(): void
Expand Down Expand Up @@ -365,6 +366,7 @@ public function up(): void
*
* More information on this method is available here:
* https://book.cakephp.org/phinx/0/en/migrations.html#the-down-method
*
* @return void
*/
public function down(): void
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ class TestSnapshotPluginBlogSqlserver extends BaseMigration
*
* More information on this method is available here:
* https://book.cakephp.org/phinx/0/en/migrations.html#the-up-method
*
* @return void
*/
public function up(): void
Expand Down Expand Up @@ -138,6 +139,7 @@ public function up(): void
*
* More information on this method is available here:
* https://book.cakephp.org/phinx/0/en/migrations.html#the-down-method
*
* @return void
*/
public function down(): void
Expand Down
1 change: 1 addition & 0 deletions tests/comparisons/Migration/testCreate.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ class CreateUsers extends BaseMigration
*
* More information on this method is available here:
* https://book.cakephp.org/migrations/4/en/migrations.html#the-change-method
*
* @return void
*/
public function change(): void
Expand Down
1 change: 1 addition & 0 deletions tests/comparisons/Migration/testCreateDatetime.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ class CreateUsers extends BaseMigration
*
* More information on this method is available here:
* https://book.cakephp.org/migrations/4/en/migrations.html#the-change-method
*
* @return void
*/
public function change(): void
Expand Down
1 change: 1 addition & 0 deletions tests/comparisons/Migration/testCreateDropMigration.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ class DropUsers extends BaseMigration
*
* More information on this method is available here:
* https://book.cakephp.org/migrations/4/en/migrations.html#the-change-method
*
* @return void
*/
public function change(): void
Expand Down
1 change: 1 addition & 0 deletions tests/comparisons/Migration/testCreateFieldLength.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ class CreateUsers extends BaseMigration
*
* More information on this method is available here:
* https://book.cakephp.org/migrations/4/en/migrations.html#the-change-method
*
* @return void
*/
public function change(): void
Expand Down
1 change: 1 addition & 0 deletions tests/comparisons/Migration/testCreatePhinx.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ class CreateUsers extends AbstractMigration
*
* More information on this method is available here:
* https://book.cakephp.org/phinx/0/en/migrations.html#the-change-method
*
* @return void
*/
public function change(): void
Expand Down
1 change: 1 addition & 0 deletions tests/comparisons/Migration/testCreatePrimaryKey.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ class CreateUsers extends BaseMigration
*
* More information on this method is available here:
* https://book.cakephp.org/migrations/4/en/migrations.html#the-change-method
*
* @return void
*/
public function change(): void
Expand Down
1 change: 1 addition & 0 deletions tests/comparisons/Migration/testCreatePrimaryKeyUuid.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ class CreateUsers extends BaseMigration
*
* More information on this method is available here:
* https://book.cakephp.org/migrations/4/en/migrations.html#the-change-method
*
* @return void
*/
public function change(): void
Expand Down
1 change: 1 addition & 0 deletions tests/comparisons/Migration/testNoContents.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ class NoContents extends BaseMigration
*
* More information on this method is available here:
* https://book.cakephp.org/migrations/4/en/migrations.html#the-change-method
*
* @return void
*/
public function change(): void
Expand Down
Loading
Loading