Matus Kmit

Results 67 comments of Matus Kmit

Remaining ToDos: - [x] remove `include_draft` parameter from legacy? - [ ] migrate from join table to foreign key on `model_groups.inventory_pool_id` (1-n) (OPTIONAL)

https://github.com/leihs/leihs/commit/80abaeab7879355f8756958120fbb905b5a13cbd

database: https://github.com/leihs/leihs_database/tree/mk/missing-langs-1144

todo: - [x] add mail templates too

WIP: https://github.com/leihs/leihs/tree/mk/missing-langs-1144 `languages.feature` int-test is still red.

https://github.com/leihs/leihs/commit/b564e23ba3425f59c2414b523dac009ca2737ebf

@DrTom please review in regards to security, etc: - https://guides.rubyonrails.org/upgrading_ruby_on_rails.html#upgrading-from-rails-5-1-to-rails-5-2 - https://guides.rubyonrails.org/upgrading_ruby_on_rails.html#upgrading-from-rails-5-2-to-rails-6-0

Queries for deleting "unused" Attachments: ```sql DELETE FROM attachments WHERE attachments.model_id IS NOT NULL AND NOT EXISTS (SELECT 1 FROM items WHERE items.model_id = attachments.model_id AND items.retired IS NULL); DELETE...

@DrTom 0.8 GB Unterschied.

attachments von retired auf PROD gelöscht.