danbooru / danbooru

A taggable image board written in Rails.
Other
2.26k stars 415 forks source link

Store full source metadata #4113

Open evazion opened 5 years ago

evazion commented 5 years ago

We know how to extract lots of metadata from sources using source strategies, but most of this data gets thrown away. Instead it should be permanently stored in a table somewhere.

Specifically, for every source we should extract and store the following:

This would facilitate a number of things:

r888888888 commented 5 years ago

Maybe this is a good candidate for Postgres's JSON indexing support.

GlassedSilver commented 5 years ago

I love this idea. Especially things like upload dates can really come in handy.