Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

feat/enterpriseportal: init licenses tables#63454

Merged
bobheadxi merged 2 commits intomainfrom
06-24-feat_enterpriseportal_init_licenses_tables
Jun 27, 2024
Merged

feat/enterpriseportal: init licenses tables#63454
bobheadxi merged 2 commits intomainfrom
06-24-feat_enterpriseportal_init_licenses_tables

Conversation

@bobheadxi
Copy link
Member

@bobheadxi bobheadxi commented Jun 24, 2024

Closes https://linear.app/sourcegraph/issue/CORE-157

Potentially controversial decision: storing license data (the JSON data encoded into license keys, and the license key itself) in JSONB. The data in there isn't (and shouldn't be) interesting to query on - they're only used in the context of a single license, so you would never use it as conditions. The only one that might be useful is "license key substring" for parity with what we have today, but that's an internal-only use case and shouldn't be in the hotpath for anything super performance sensitive.

Conditions table is similar to the one introduced in https://github.com/sourcegraph/sourcegraph/pull/63453

Test plan

CI

Copy link
Member Author

bobheadxi commented Jun 24, 2024

@bobheadxi bobheadxi requested review from a team and unknwon June 24, 2024 22:36
@bobheadxi bobheadxi marked this pull request as ready for review June 24, 2024 22:36
@bobheadxi bobheadxi force-pushed the 06-24-feat_enterpriseportal_init_licenses_tables branch from be60edd to 7500584 Compare June 24, 2024 23:10
@bobheadxi bobheadxi force-pushed the ep-subscriptions-tables branch from fdf7443 to 320b550 Compare June 25, 2024 00:40
@bobheadxi bobheadxi force-pushed the 06-24-feat_enterpriseportal_init_licenses_tables branch 2 times, most recently from cf9a343 to a5b3ff4 Compare June 25, 2024 00:44
@bobheadxi bobheadxi force-pushed the ep-subscriptions-tables branch from 320b550 to 32bf1b3 Compare June 25, 2024 19:24
@bobheadxi bobheadxi force-pushed the 06-24-feat_enterpriseportal_init_licenses_tables branch 2 times, most recently from 96f9cb0 to e7104ed Compare June 25, 2024 20:01
@bobheadxi bobheadxi force-pushed the ep-subscriptions-tables branch from c0c3741 to 8a5ca69 Compare June 26, 2024 21:32
@bobheadxi bobheadxi force-pushed the 06-24-feat_enterpriseportal_init_licenses_tables branch 2 times, most recently from fab2841 to f152225 Compare June 26, 2024 23:52
Base automatically changed from ep-subscriptions-tables to main June 27, 2024 00:13
@bobheadxi bobheadxi force-pushed the 06-24-feat_enterpriseportal_init_licenses_tables branch from f152225 to f50613d Compare June 27, 2024 00:13
@bobheadxi bobheadxi merged commit d4f4bc7 into main Jun 27, 2024
@bobheadxi bobheadxi deleted the 06-24-feat_enterpriseportal_init_licenses_tables branch June 27, 2024 19:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants