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

web2py_filesystem Updates/Corrections #696

Closed
macneiln opened this issue Aug 10, 2022 · 0 comments · Fixed by #697
Closed

web2py_filesystem Updates/Corrections #696

macneiln opened this issue Aug 10, 2022 · 0 comments · Fixed by #697

Comments

@macneiln
Copy link
Contributor

  1. Attempting to store DAL table structure details in the database rather than the filesystem is currently failing due to an encoding typo where the filename is being inadvertently stored as bytes rather than it's filename in one section, which results in that file not being found when it's queried for and thereby attempts to recreate tables that exist and fails as it's violating the web2py_filesystem primary keys.

  2. Binary types in PostgreSQL are "BYTEA" but the web2py_filesystem table creation script has it hardcoded to "BLOB" for all three applicable database types ("mysql", "postgres", "sqlite",) which causes the web2py_filesystem table creation to fail when starting py4web.

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 a pull request may close this issue.

1 participant