From 2f1388c7aea77aa08f72f43265048a9a6528c840 Mon Sep 17 00:00:00 2001 From: Thomas Nienhaus Date: Thu, 4 May 2023 15:23:10 +0200 Subject: [PATCH] test files for comparision for postgres --- .../Migration/pgsql/test_auto_id_disabled_snapshot_pgsql.php | 3 +++ .../Migration/pgsql/test_not_empty_snapshot_pgsql.php | 3 +++ tests/comparisons/Migration/pgsql/test_plugin_blog_pgsql.php | 1 + 3 files changed, 7 insertions(+) diff --git a/tests/comparisons/Migration/pgsql/test_auto_id_disabled_snapshot_pgsql.php b/tests/comparisons/Migration/pgsql/test_auto_id_disabled_snapshot_pgsql.php index 64b2fe24..05d20737 100644 --- a/tests/comparisons/Migration/pgsql/test_auto_id_disabled_snapshot_pgsql.php +++ b/tests/comparisons/Migration/pgsql/test_auto_id_disabled_snapshot_pgsql.php @@ -385,6 +385,7 @@ public function up(): void [ 'update' => 'NO_ACTION', 'delete' => 'NO_ACTION', + 'constraint' => 'category_article_idx' ] ) ->update(); @@ -403,6 +404,7 @@ public function up(): void [ 'update' => 'CASCADE', 'delete' => 'CASCADE', + 'constraint' => 'product_id_fk' ] ) ->update(); @@ -415,6 +417,7 @@ public function up(): void [ 'update' => 'CASCADE', 'delete' => 'CASCADE', + 'constraint' => 'category_idx' ] ) ->update(); diff --git a/tests/comparisons/Migration/pgsql/test_not_empty_snapshot_pgsql.php b/tests/comparisons/Migration/pgsql/test_not_empty_snapshot_pgsql.php index 42eff43e..b5e768ee 100644 --- a/tests/comparisons/Migration/pgsql/test_not_empty_snapshot_pgsql.php +++ b/tests/comparisons/Migration/pgsql/test_not_empty_snapshot_pgsql.php @@ -325,6 +325,7 @@ public function up(): void [ 'update' => 'NO_ACTION', 'delete' => 'NO_ACTION', + 'constraint' => 'category_article_idx' ] ) ->update(); @@ -343,6 +344,7 @@ public function up(): void [ 'update' => 'CASCADE', 'delete' => 'CASCADE', + 'constraint' => 'product_id_fk' ] ) ->update(); @@ -355,6 +357,7 @@ public function up(): void [ 'update' => 'CASCADE', 'delete' => 'CASCADE', + 'constraint' => 'category_idx' ] ) ->update(); diff --git a/tests/comparisons/Migration/pgsql/test_plugin_blog_pgsql.php b/tests/comparisons/Migration/pgsql/test_plugin_blog_pgsql.php index df2268eb..b2270c1f 100644 --- a/tests/comparisons/Migration/pgsql/test_plugin_blog_pgsql.php +++ b/tests/comparisons/Migration/pgsql/test_plugin_blog_pgsql.php @@ -131,6 +131,7 @@ public function up(): void [ 'update' => 'NO_ACTION', 'delete' => 'NO_ACTION', + 'constraint' => 'category_article_idx' ] ) ->update();