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

handle create database and collection from contract #569

Merged
merged 31 commits into from
Jul 21, 2023

Conversation

imotai
Copy link
Contributor

@imotai imotai commented Jul 20, 2023


PR-Codex overview

This PR focuses on adding functionality to create collections with indexes in the DB3MetaStore.

Detailed summary

  • Added indexes parameter to the create_collection function in DocStore
  • Added indexes field to the CollectionMutation struct in db3_mutation_v2.proto
  • Modified the create_collection function in DBStoreV2 to support indexes

The following files were skipped due to too many changes: src/storage/src/db_store_v2.rs, src/event/src/meta_store_event_processor.rs

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@imotai imotai changed the title Feat/watch contract event handle create database from contract Jul 20, 2023
@imotai imotai changed the title handle create database from contract handle create database and collection from contract Jul 20, 2023
@codecov-commenter
Copy link

codecov-commenter commented Jul 20, 2023

Codecov Report

Merging #569 (8dff7a4) into main (0974e4a) will not change coverage.
The diff coverage is n/a.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@           Coverage Diff           @@
##             main     #569   +/-   ##
=======================================
  Coverage   63.97%   63.97%           
=======================================
  Files           9        9           
  Lines         433      433           
  Branches       64       64           
=======================================
  Hits          277      277           
  Misses        156      156           
Flag Coverage Δ
rust 63.97% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@imotai imotai merged commit b77f4f8 into dbpunk-labs:main Jul 21, 2023
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

Successfully merging this pull request may close these issues.

2 participants