2018-05-07 16:47:29 -07:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
2014-06-26 09:08:26 +02:00
|
|
|
module Ahoy
|
2017-09-05 22:23:34 +03:00
|
|
|
class Event < ApplicationRecord
|
2018-03-18 10:57:39 +02:00
|
|
|
include Ahoy::QueryMethods
|
2014-08-18 21:54:43 +03:00
|
|
|
self.table_name = 'ahoy_events'
|
2014-06-26 09:08:26 +02:00
|
|
|
|
|
|
|
|
belongs_to :visit
|
|
|
|
|
belongs_to :user
|
|
|
|
|
|
|
|
|
|
serialize :properties, JSON
|
|
|
|
|
end
|
|
|
|
|
end
|