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

fix(CLI): fix "db init" #231

Merged
merged 1 commit into from
Nov 15, 2024
Merged

fix(CLI): fix "db init" #231

merged 1 commit into from
Nov 15, 2024

Conversation

ketiltrout
Copy link
Member

@ketiltrout ketiltrout commented Nov 15, 2024

Not much to fix here. The extension tables aren't handled but they can't be unless we were to create some sort of new extension type which provides a list of tables to create.

Given that the only use of such an extension would be to pass them to create_tables in this function, it may be more trouble than it's worth. Probably easier for both alpenhorn and the extension creators to just tell them to create their own tables.

In any case, it's very low priority.

I had another command in the db group listed in #202 called status. Not sure it's going to get implemented. Not sure what it would tell us. Perhaps more useful would be an integrity-checking db check command. But neither are on the table at the moment.

Not much to fix here.  The extension tables aren't handled but
they can't be unless we were to create some sort of new extension
type which provides a list of tables to create.

Given that the only use of such an extension would be to pass them
to `create_tables` in this function, it may be more trouble than
it's worth.  Probably easier for both alpenhorn and the extension
creators to just tell them to create their own tables.

In any case, it's very low priority.
@ketiltrout ketiltrout requested review from ljgray and rikvl November 15, 2024 06:42
@ketiltrout ketiltrout mentioned this pull request Nov 15, 2024
46 tasks
@ketiltrout ketiltrout merged commit 89846a9 into master Nov 15, 2024
3 checks passed
@ketiltrout ketiltrout deleted the db_init branch November 15, 2024 20:34
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