dawarich/app/models/import.rb

7 lines
161 B
Ruby
Raw Normal View History

2024-03-15 18:27:31 -04:00
class Import < ApplicationRecord
belongs_to :user, dependent: :destroy
has_many :points, dependent: :destroy
enum source: { google: 0, owntracks: 1 }
end