aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/chouette/timeband.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/chouette/timeband.rb')
-rw-r--r--app/models/chouette/timeband.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/chouette/timeband.rb b/app/models/chouette/timeband.rb
index da8bc3dea..21c81ab1c 100644
--- a/app/models/chouette/timeband.rb
+++ b/app/models/chouette/timeband.rb
@@ -8,6 +8,8 @@ module Chouette
end
class Timeband < Chouette::TridentActiveRecord
+ include ObjectidSupport
+
self.primary_key = "id"
validates :start_time, :end_time, presence: true