diff --git a/CHANGELOG.md b/CHANGELOG.md index e90314c1..35d088d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,18 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +# Unreleased + +## TODO: + +- Migrate existing imports from `raw_data` to the new file storage. +- Delete import files when import is deleted. +- Stream import files for parsing instead of downloading them. + +## Changed + +- Import files are now being attached to the import record instead of being stored in the `raw_data` database column. + # 0.25.3 - 2025-03-22 ## Fixed diff --git a/app/models/user.rb b/app/models/user.rb index 3a1c6071..44225162 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -15,8 +15,6 @@ class User < ApplicationRecord has_many :places, through: :visits has_many :trips, dependent: :destroy - has_many_attached :import_files - after_create :create_api_key after_create :import_sample_points after_commit :activate, on: :create, if: -> { DawarichSettings.self_hosted? }