aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/dashboard.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/models/dashboard.rb')
-rw-r--r--activerecord/test/models/dashboard.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/activerecord/test/models/dashboard.rb b/activerecord/test/models/dashboard.rb
new file mode 100644
index 0000000000..d25ceeafb1
--- /dev/null
+++ b/activerecord/test/models/dashboard.rb
@@ -0,0 +1,5 @@
+# frozen_string_literal: true
+
+class Dashboard < ActiveRecord::Base
+ self.primary_key = :dashboard_id
+end