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: uncomment drop statement sql in d1 schema #13

Merged
merged 2 commits into from
Jan 21, 2024

Conversation

pseudoyu
Copy link
Contributor

Issue

fix_tg_bot_pr

The wrangler d1 execute command fails to recognize SQL files that with a comment line --, making the commandline execution failed.

Solution

  • SQL file commands can now be made effective by uncommenting the first line DROP TABLE IF EXISTS telegram_messages;

@niracler niracler merged commit 43753d4 into niracler:main Jan 21, 2024
github-actions bot pushed a commit that referenced this pull request Jan 21, 2024
## [0.2.3](v0.2.2...v0.2.3) (2024-01-21)

### Bug Fixes

* uncomment drop statement sql in d1 schema ([#13](#13)) ([43753d4](43753d4))
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