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

#3 refactor secret storage #9

Merged
merged 9 commits into from
Oct 13, 2023
Merged

#3 refactor secret storage #9

merged 9 commits into from
Oct 13, 2023

Conversation

ckunki
Copy link
Collaborator

@ckunki ckunki commented Oct 12, 2023

fixes #3
closes #5

create_table(table)
_logger.info(f'Creating table "{TABLE_NAME}".')
with self._cursor() as cur:
cur.execute(f"CREATE TABLE {TABLE_NAME} (key, value)")
Copy link
Contributor

@kaklakariada kaklakariada Oct 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Specify column types.
Also add a unique constraint and a test verifying what happens when you insert two keys with the same value

@ckunki ckunki merged commit 242f4b3 into main Oct 13, 2023
1 check passed
@ckunki ckunki deleted the #3_refactor_secret_storage branch October 13, 2023 07:19
ckunki added a commit that referenced this pull request Oct 13, 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.

Verify sqlcipher encription of SQL database Refactor secret storage
2 participants