dawarich/app/models/import.rb
2024-04-25 22:28:34 +02:00

10 lines
215 B
Ruby

# frozen_string_literal: true
class Import < ApplicationRecord
belongs_to :user
has_many :points, dependent: :destroy
include ImportUploader::Attachment(:raw)
enum source: { google: 0, owntracks: 1 }
end