Merge with other head
authorVincent Tondellier <tonton+hg@team1664.org>
Fri, 11 Sep 2015 23:56:35 +0200
changeset 71 61fa9d626914
parent 70 dfc2f094a04f (current diff)
parent 69 5794f095a709 (diff)
child 72 ec517ae81b39
Merge with other head
--- a/lib/CrashTest/Storage/Sql/Schema/Result/CrashUser.pm	Fri Sep 11 23:52:21 2015 +0200
+++ b/lib/CrashTest/Storage/Sql/Schema/Result/CrashUser.pm	Fri Sep 11 23:56:35 2015 +0200
@@ -47,7 +47,6 @@
     is_nullable => 1,
 };
 
-#column crash_report_id => { data_type => 'int' };
-#belongs_to crash_report => 'CrashTest::Storage::Sql::Schema::Result::CrashReport', 'crash_report_id';
+has_many crash_report => 'CrashTest::Storage::Sql::Schema::Result::CrashReport', 'crash_user_id';
 
 1;
--- a/lib/CrashTest/Storage/Sql/Schema/Result/Product.pm	Fri Sep 11 23:52:21 2015 +0200
+++ b/lib/CrashTest/Storage/Sql/Schema/Result/Product.pm	Fri Sep 11 23:56:35 2015 +0200
@@ -43,8 +43,6 @@
     is_nullable => 16,
 };
 
-#column crash_report_id => { data_type => 'int' };
-#belongs_to crash_report => 'CrashTest::Storage::Sql::Schema::Result::CrashReport', 'crash_report_id';
+has_many crash_report => 'CrashTest::Storage::Sql::Schema::Result::CrashReport', 'product_id';
 
 1;
-