--- 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;
-