metabase / metabase/metabase

Untangle the FieldValues mess in the app DB

Open
#668 15 comments 1 reaction 0 assignees View on GitHub
.Backend Operation/Database Migrations Type:Tech Debt
Dominant language
Clojure
Stars
49.3k
Forks
6.8k
Avg merge
1d 13h
Merged PRs (30d)
653

Description

Somehow locally I have multiple `FieldValues` instances for the same `Field` object, which is undesirable :-1:

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the local database state described in the issue and tracing how Field and FieldValues instances are created or loaded. Determine the expected one-to-one relationship and verify that the duplicate-instance case no longer occurs; the issue names no files or tests to guide the investigation.

Written by the indexing model from the issue text.

Assessment

Tech stack
clojure
Domain
database
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.