Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unique key for asset_value #49

Open
suminb opened this issue May 25, 2021 · 0 comments
Open

Unique key for asset_value #49

suminb opened this issue May 25, 2021 · 0 comments
Assignees

Comments

@suminb
Copy link
Owner

suminb commented May 25, 2021

Currently defined as:

-- auto-generated definition
create unique index asset_value_asset_id_evaluated_at_granularity_key
    on asset_value (asset_id, evaluated_at, granularity);

We're going to need source as the fourth element in the unique key as:

(asset_id, evaluated_at, granularity, source)
@suminb suminb self-assigned this May 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant